]> git.mxchange.org Git - friendica.git/blobdiff - mod/pubsub.php
Handle changed parents
[friendica.git] / mod / pubsub.php
index e07b15583c8eb5c3926e5b9a811d3234e54295f4..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,7 +39,7 @@ function hub_return($valid, $body)
        } else {
                throw new \Friendica\Network\HTTPException\NotFoundException();
        }
-       exit();
+       System::exit();
 }
 
 // when receiving an XML feed, always return OK