]> git.mxchange.org Git - friendica.git/blobdiff - mod/pubsub.php
More detailled HTTP error explanations
[friendica.git] / mod / pubsub.php
index cb6738ada33ed3ce7f5a3e542cadc078440bbdec..1245c94628d5d589bea20839b141c3027a6d02d6 100644 (file)
@@ -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)