X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffetch.php;h=3e9c4e662671ee4422de37a0c59e37d22d0506d0;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=5dcedb1aafdca58b6b8d0a01b58ed8611fe88155;hpb=02a72ef04fb4ef8b8984b3dd05d6813c71d6abcc;p=friendica.git diff --git a/mod/fetch.php b/mod/fetch.php index 5dcedb1aaf..3e9c4e6626 100644 --- a/mod/fetch.php +++ b/mod/fetch.php @@ -4,14 +4,12 @@ This file is part of the Diaspora protocol. It is used for fetching single publi */ use Friendica\App; -use Friendica\Core\L10n; use Friendica\Core\Protocol; use Friendica\Core\System; use Friendica\Protocol\Diaspora; use Friendica\Model\Item; use Friendica\Model\User; use Friendica\Util\Strings; -use Friendica\Util\XML; use Friendica\Database\DBA; function fetch_init(App $a) @@ -40,7 +38,7 @@ function fetch_init(App $a) header("HTTP/1.1 301 Moved Permanently"); header("Location:".$location); - killme(); + exit(); } } @@ -60,5 +58,5 @@ function fetch_init(App $a) header("Content-Type: application/magic-envelope+xml; charset=utf-8"); echo Diaspora::buildMagicEnvelope($xml, $user); - killme(); + exit(); }