]> git.mxchange.org Git - friendica.git/blobdiff - mod/pubsubhubbub.php
notifications.php: move more code to NotificationsManager
[friendica.git] / mod / pubsubhubbub.php
index b0e3ef30998ec3b891291d7b5392bba1df1aac20..5d7621cc745fdf648cd1dc79d83342d09ccbe694 100644 (file)
@@ -1,12 +1,9 @@
 <?php
 
-if(! function_exists('post_var')) {
 function post_var($name) {
        return (x($_POST, $name)) ? notags(trim($_POST[$name])) : '';
 }
-}
 
-if(! function_exists('pubsubhubbub_init')) {
 function pubsubhubbub_init(&$a) {
        // PuSH subscription must be considered "public" so just block it
        // if public access isn't enabled.
@@ -161,5 +158,5 @@ function pubsubhubbub_init(&$a) {
 
        killme();
 }
-}
+
 ?>