]> git.mxchange.org Git - friendica.git/blobdiff - mod/filerm.php
Merge pull request #6563 from annando/ap-forum
[friendica.git] / mod / filerm.php
index d240c2d6a757927df98f1bf81134889c7e69da16..b1f9f8d74b88989518469f238694ad7e8a6bdd10 100644 (file)
@@ -2,7 +2,6 @@
 
 use Friendica\App;
 use Friendica\Core\Logger;
-use Friendica\Core\System;
 use Friendica\Model\FileTag;
 use Friendica\Util\XML;
 
@@ -10,7 +9,7 @@ function filerm_content(App $a)
 {
        if (! local_user())
        {
-               killme();
+               exit();
        }
 
        $term = XML::unescape(trim($_GET['term']));
@@ -37,5 +36,5 @@ function filerm_content(App $a)
        }
 
        $a->internalRedirect('/network?f=&file=' . rawurlencode($term));
-       killme();
+       exit();
 }