aboutsummaryrefslogtreecommitdiffstats
path: root/mod/home.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-28 20:58:59 -0800
committerfriendica <info@friendica.com>2015-01-28 20:58:59 -0800
commite157371c39121db472cbc45b59ac89d847788648 (patch)
tree6673eebe64ae63d369fd139bb0fbbecfa20012d3 /mod/home.php
parenta4960360669daa0a0c842427185ce1ada3b4ab97 (diff)
downloadvolse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.tar.gz
volse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.tar.bz2
volse-hubzilla-e157371c39121db472cbc45b59ac89d847788648.zip
remote_user => remote_channel
Diffstat (limited to 'mod/home.php')
-rw-r--r--mod/home.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/home.php b/mod/home.php
index 733789991..854e2df26 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -100,7 +100,7 @@ function home_content(&$a, $update = 0, $load = false) {
if($sitename)
$o .= '<h1>' . sprintf( t("Welcome to %s") ,$sitename) . '</h1>';
- if(intval(get_config('system','block_public')) && (! local_channel()) && (! remote_user())) {
+ if(intval(get_config('system','block_public')) && (! local_channel()) && (! remote_channel())) {
// If there's nothing special happening, just spit out a login box
if (! $a->config['system']['no_login_on_homepage'])