]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagger.php
Remove/replace killme() with *exit()
[friendica.git] / mod / tagger.php
index 5a8047414d648fc1c1d34771e971205fad832de3..87895e16f8c62dc5dd1f537613f6cef044e732f7 100644 (file)
@@ -13,8 +13,6 @@ use Friendica\Model\Item;
 use Friendica\Util\Strings;
 use Friendica\Util\XML;
 
-require_once 'include/items.php';
-
 function tagger_content(App $a) {
 
        if (!local_user() && !remote_user()) {
@@ -78,7 +76,7 @@ function tagger_content(App $a) {
                $href = System::baseUrl() . '/display/' . $item['guid'];
        }
 
-       $link = XML::escape('<link rel="alternate" type="text/html" href="'. $href . '" />' . "\n") ;
+       $link = XML::escape('<link rel="alternate" type="text/html" href="'. $href . '" />' . "\n");
 
        $body = XML::escape($item['body']);
 
@@ -205,7 +203,5 @@ EOT;
 
        Worker::add(PRIORITY_HIGH, "Notifier", "tag", $post_id);
 
-       killme();
-
-       return; // NOTREACHED
+       exit();
 }