]> git.mxchange.org Git - friendica.git/blobdiff - mod/pubsub.php
Only assign a uid to the profile if not defined by now
[friendica.git] / mod / pubsub.php
index cb6738ada33ed3ce7f5a3e542cadc078440bbdec..cd2f21dd67904907cc73646688442e1e14c4498f 100644 (file)
@@ -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)