]> git.mxchange.org Git - friendica.git/blobdiff - mod/follow.php
dfrn_request: added $blocked and $pending as variable to make code more understandable
[friendica.git] / mod / follow.php
index a8fdc31b5a2fd5775570fe8a0e21dc91ff0ab594..b92a0d980fb57e1150214c07aee7e5b590277c05 100644 (file)
@@ -5,7 +5,6 @@ require_once('include/follow.php');
 require_once('include/Contact.php');
 require_once('include/contact_selectors.php');
 
-if(! function_exists('follow_content')) {
 function follow_content(&$a) {
 
        if(! local_user()) {
@@ -149,9 +148,7 @@ function follow_content(&$a) {
 
        return $o;
 }
-}
 
-if(! function_exists('follow_post')) {
 function follow_post(&$a) {
 
        if(! local_user()) {
@@ -188,4 +185,3 @@ function follow_post(&$a) {
        goaway($return_url);
        // NOTREACHED
 }
-}