X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpubsub.php;h=cd2f21dd67904907cc73646688442e1e14c4498f;hb=826965f6df87dd8a98697becb9a801ea504c4252;hp=cb6738ada33ed3ce7f5a3e542cadc078440bbdec;hpb=83489b36c4f8299ea1219b7d45c4ea974daf4f66;p=friendica.git diff --git a/mod/pubsub.php b/mod/pubsub.php index cb6738ada3..cd2f21dd67 100644 --- a/mod/pubsub.php +++ b/mod/pubsub.php @@ -17,7 +17,7 @@ function hub_return($valid, $body) header($_SERVER["SERVER_PROTOCOL"] . ' 200 OK'); echo $body; } else { - System::httpExit(404, ['title' => L10n::t('Not found.')]); + System::httpExit(404); } killme(); } @@ -26,8 +26,7 @@ function hub_return($valid, $body) function hub_post_return() { - header($_SERVER["SERVER_PROTOCOL"] . ' 200 OK'); - killme(); + System::httpExit(200); } function pubsub_init(App $a)