]> git.mxchange.org Git - friendica.git/blobdiff - mod/poke.php
Ops, one more left ...
[friendica.git] / mod / poke.php
index 0ffb316282ce4ca77b1c359f2e737d798d0b4589..a9dfc73f4e1f0f97e898da67e29581ce4144508f 100644 (file)
@@ -61,7 +61,7 @@ function poke_init(App $a) {
                intval($uid)
        );
 
-       if (!DBA::is_result($r)) {
+       if (!DBA::isResult($r)) {
                logger('poke: no contact ' . $contact_id);
                return;
        }
@@ -73,7 +73,7 @@ function poke_init(App $a) {
                $condition = ['id' => $parent, 'parent' => $parent, 'uid' => $uid];
                $item = Item::selectFirst($fields, $condition);
 
-               if (DBA::is_result($item)) {
+               if (DBA::isResult($item)) {
                        $parent_uri = $item['uri'];
                        $private    = $item['private'];
                        $allow_cid  = $item['allow_cid'];
@@ -154,7 +154,7 @@ function poke_content(App $a) {
                        intval($_GET['c']),
                        intval(local_user())
                );
-               if (DBA::is_result($r)) {
+               if (DBA::isResult($r)) {
                        $name = $item['name'];
                        $id = $item['id'];
                }