]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/DFRN.php
Remove/replace killme() with *exit()
[friendica.git] / src / Protocol / DFRN.php
index d6b0a482ec94c439734b6b49436913346d7a07df..6c475b18529a28e25265ce74200cdd8662ddf9e8 100644 (file)
@@ -171,7 +171,7 @@ class DFRN
 
                if (! DBA::isResult($r)) {
                        Logger::log(sprintf('No contact found for nickname=%d', $owner_nick), Logger::WARNING);
-                       killme();
+                       exit();
                }
 
                $owner = $r[0];
@@ -207,7 +207,7 @@ class DFRN
 
                        if (! DBA::isResult($r)) {
                                Logger::log(sprintf('No contact found for uid=%d', $owner_id), Logger::WARNING);
-                               killme();
+                               exit();
                        }
 
                        $contact = $r[0];
@@ -353,7 +353,7 @@ class DFRN
                $ret = Item::select(Item::DELIVER_FIELDLIST, $condition);
                $items = Item::inArray($ret);
                if (!DBA::isResult($items)) {
-                       killme();
+                       exit();
                }
 
                $item = $items[0];
@@ -361,7 +361,7 @@ class DFRN
                if ($item['uid'] != 0) {
                        $owner = User::getOwnerDataById($item['uid']);
                        if (!$owner) {
-                               killme();
+                               exit();
                        }
                } else {
                        $owner = ['uid' => 0, 'nick' => 'feed-item'];
@@ -1962,7 +1962,7 @@ class DFRN
                 */
                if (!DBA::isResult($fcontact)) {
                        // Database record did not get created. Quietly give up.
-                       killme();
+                       exit();
                }
 
                $fid = $r[0]["id"];