X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Ffollow.php;h=30451910772295fb824e8ac66b127b51100182e5;hb=f5a634abbcad08131abbefa8442f622ba1b40b14;hp=8d80538e0c924856c51c0547511d4e4769f750aa;hpb=f8a213e23be1c43a00dea6079f78100f6df99d77;p=friendica.git diff --git a/include/follow.php b/include/follow.php index 8d80538e0c..3045191077 100644 --- a/include/follow.php +++ b/include/follow.php @@ -110,12 +110,10 @@ function new_contact($uid,$url,$interactive = false) { // NOTREACHED } - } else { - if (get_config('system','dfrn_only')) { - $result['message'] = t('This site is not configured to allow communications with other networks.') . EOL; - $result['message'] != t('No compatible communication protocols or feeds were discovered.') . EOL; - return $result; - } + } elseif (get_config('system','dfrn_only')) { + $result['message'] = t('This site is not configured to allow communications with other networks.') . EOL; + $result['message'] != t('No compatible communication protocols or feeds were discovered.') . EOL; + return $result; } // This extra param just confuses things, remove it