aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Regmod.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-14 19:19:25 -0700
committerzotlabs <mike@macgirvin.com>2018-05-14 19:19:25 -0700
commitc8fc3ad7cd47a1545da030109ba743105417c047 (patch)
treebed9412fa300d325bd9f69fbdac38f585c5cc592 /Zotlabs/Module/Regmod.php
parent301e405769ad9fbe80955cdad7d9d9192cbfe5b6 (diff)
downloadvolse-hubzilla-c8fc3ad7cd47a1545da030109ba743105417c047.tar.gz
volse-hubzilla-c8fc3ad7cd47a1545da030109ba743105417c047.tar.bz2
volse-hubzilla-c8fc3ad7cd47a1545da030109ba743105417c047.zip
refactor the 'where does the register link point?' logic
Diffstat (limited to 'Zotlabs/Module/Regmod.php')
-rw-r--r--Zotlabs/Module/Regmod.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Regmod.php b/Zotlabs/Module/Regmod.php
index 70635d707..6fe89ca90 100644
--- a/Zotlabs/Module/Regmod.php
+++ b/Zotlabs/Module/Regmod.php
@@ -13,8 +13,7 @@ class Regmod extends \Zotlabs\Web\Controller {
if(! local_channel()) {
info( t('Please login.') . EOL);
- $o .= '<br /><br />' . login((\App::$config['system']['register_policy'] == REGISTER_CLOSED) ? 0 : 1);
- return $o;
+ return login();
}
if(! is_site_admin()) {