X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fpubsub.php;h=918c55ee14cb817f192232c675ff112ea79792c9;hb=6abb4d40d6456f58a748077f161f5101b4048659;hp=e07b15583c8eb5c3926e5b9a811d3234e54295f4;hpb=3d8e82d95d9cc76b45a8db301b22c4111f335e1c;p=friendica.git diff --git a/mod/pubsub.php b/mod/pubsub.php index e07b15583c..918c55ee14 100644 --- a/mod/pubsub.php +++ b/mod/pubsub.php @@ -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