diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-06-10 15:47:23 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-06-10 15:47:23 -0700 |
commit | 2128d5a2560383e0d3587087a7dd0aab217bc262 (patch) | |
tree | c2aa27a08a9e96ecf291d10db46e4fcf0e3806c9 /mod/home.php | |
parent | eb6a1f838724504f0034d51a28567ea9a8119b54 (diff) | |
parent | 52ddbd1adda88690a19aafc35e455b01d059852f (diff) | |
download | volse-hubzilla-2128d5a2560383e0d3587087a7dd0aab217bc262.tar.gz volse-hubzilla-2128d5a2560383e0d3587087a7dd0aab217bc262.tar.bz2 volse-hubzilla-2128d5a2560383e0d3587087a7dd0aab217bc262.zip |
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Diffstat (limited to 'mod/home.php')
-rw-r--r-- | mod/home.php | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/mod/home.php b/mod/home.php index b2779051d..242b2dcec 100644 --- a/mod/home.php +++ b/mod/home.php @@ -72,13 +72,10 @@ 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_channel())) { - // If there's nothing special happening, just spit out a login box - $loginbox = get_config('system','login_on_homepage'); - if(intval($loginbox) || $loginbox === false) - $o .= login(($a->config['system']['register_policy'] == REGISTER_CLOSED) ? 0 : 1); - } + $loginbox = get_config('system','login_on_homepage'); + if(intval($loginbox) || $loginbox === false) + $o .= login(($a->config['system']['register_policy'] == REGISTER_CLOSED) ? 0 : 1); return $o; -}
\ No newline at end of file +} |