]> git.mxchange.org Git - friendica.git/blobdiff - mod/pubsub.php
Fix off-by-one error in Message ID header count check in Util\Emailer
[friendica.git] / mod / pubsub.php
index 630b68f50428403f013eaaf08c95ffef157a9b0a..918c55ee14cb817f192232c675ff112ea79792c9 100644 (file)
@@ -22,6 +22,7 @@
 use Friendica\App;
 use Friendica\Core\Logger;
 use Friendica\Core\Protocol;
+use Friendica\Core\System;
 use Friendica\Database\DBA;
 use Friendica\DI;
 use Friendica\Model\Contact;
@@ -38,8 +39,7 @@ function hub_return($valid, $body)
        } else {
                throw new \Friendica\Network\HTTPException\NotFoundException();
        }
-       DI::page()->logRuntime();
-       exit();
+       System::exit();
 }
 
 // when receiving an XML feed, always return OK