This merge brings back dbm::is_result() where I could find it.
Merge branch 'develop' of github.com:friendica/friendica into rhaeder-develop Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
commit
c825cc8d0d
691 changed files with 128914 additions and 43052 deletions
|
|
@ -10,7 +10,7 @@
|
|||
dbesc($key)
|
||||
);
|
||||
|
||||
if (dba::is_result($r))
|
||||
if (dbm::is_result($r))
|
||||
return $r[0]['v'];
|
||||
|
||||
return null;
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
* $r = q("SELECT * FROM `cache` WHERE `k`='%s' limit 1",
|
||||
* dbesc($key)
|
||||
* );
|
||||
* if(dba::is_result($r)) {
|
||||
* if(dbm::is_result($r)) {
|
||||
* q("UPDATE `cache` SET `v` = '%s', `updated = '%s' WHERE `k` = '%s'",
|
||||
* dbesc($value),
|
||||
* dbesc(datetime_convert()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue