]> git.mxchange.org Git - friendica.git/blobdiff - mod/poco.php
This merge brings back dbm::is_result() where I could find it.
[friendica.git] / mod / poco.php
index 372f5b45b60ef40ddcd73c81b07249282ac5aa23..d492d7e9336cb627a57a193182b575b500bca47c 100644 (file)
@@ -81,7 +81,7 @@ function poco_init(&$a) {
                        dbesc(NETWORK_STATUSNET)
                );
        }
-       if(dba::is_result($r))
+       if(dbm::is_result($r))
                $totalResults = intval($r[0]['total']);
        else
                $totalResults = 0;
@@ -168,7 +168,7 @@ function poco_init(&$a) {
        }
 
        if(is_array($r)) {
-               if(dba::is_result($r)) {
+               if(dbm::is_result($r)) {
                        foreach($r as $rr) {
                                if (!isset($rr['generation'])) {
                                        if ($global)