diff options
author | friendica <info@friendica.com> | 2015-01-28 20:58:59 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-28 20:58:59 -0800 |
commit | e157371c39121db472cbc45b59ac89d847788648 (patch) | |
tree | 6673eebe64ae63d369fd139bb0fbbecfa20012d3 /include/nav.php | |
parent | a4960360669daa0a0c842427185ce1ada3b4ab97 (diff) | |
download | volse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.tar.gz volse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.tar.bz2 volse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.zip |
remote_user => remote_channel
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php index 994ebc597..5e8317cfa 100644 --- a/include/nav.php +++ b/include/nav.php @@ -39,7 +39,7 @@ EOT; } - elseif(remote_user()) + elseif(remote_channel()) $observer = $a->get_observer(); @@ -151,7 +151,7 @@ EOT; $nav['home'] = array($homelink, t('Home'), "", t('Home Page'),'home_nav_btn'); - if(($a->config['system']['register_policy'] == REGISTER_OPEN) && (! local_channel()) && (! remote_user())) + if(($a->config['system']['register_policy'] == REGISTER_OPEN) && (! local_channel()) && (! remote_channel())) $nav['register'] = array('register',t('Register'), "", t('Create an account'),'register_nav_btn'); $help_url = z_root() . '/help?f=&cmd=' . $a->cmd; |