Merge pull request #2117 from annando/1511-feed-remote
Bugfix: Only show the feed link for local profiles
This commit is contained in:
commit
69de262e97
|
@ -218,14 +218,14 @@ if(! function_exists('profile_sidebar')) {
|
||||||
if ($connect AND ($profile['network'] != NETWORK_DFRN) AND !isset($profile['remoteconnect']))
|
if ($connect AND ($profile['network'] != NETWORK_DFRN) AND !isset($profile['remoteconnect']))
|
||||||
$connect = false;
|
$connect = false;
|
||||||
|
|
||||||
if ($connect)
|
if (isset($profile['remoteconnect']))
|
||||||
|
$remoteconnect = $profile['remoteconnect'];
|
||||||
|
|
||||||
|
if ($connect AND ($profile['network'] == NETWORK_DFRN) AND !isset($remoteconnect))
|
||||||
$subscribe_feed = t("Atom feed");
|
$subscribe_feed = t("Atom feed");
|
||||||
else
|
else
|
||||||
$subscribe_feed = false;
|
$subscribe_feed = false;
|
||||||
|
|
||||||
if (isset($profile['remoteconnect']))
|
|
||||||
$remoteconnect = $profile['remoteconnect'];
|
|
||||||
|
|
||||||
if(get_my_url() && $profile['unkmail'] && ($profile['uid'] != local_user()))
|
if(get_my_url() && $profile['unkmail'] && ($profile['uid'] != local_user()))
|
||||||
$wallmessage = t('Message');
|
$wallmessage = t('Message');
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user