diff options
author | redmatrix <git@macgirvin.com> | 2016-08-07 17:29:35 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-08-07 17:29:35 -0700 |
commit | 5243dd153bed7fe79188478922a58e8057be3f3e (patch) | |
tree | 92ca6142a60f235cf70c4a31cda0b7ffc6d68c86 /include/account.php | |
parent | e1659b0725c275c2ba5f38a02a0f3fbcec145519 (diff) | |
download | volse-hubzilla-5243dd153bed7fe79188478922a58e8057be3f3e.tar.gz volse-hubzilla-5243dd153bed7fe79188478922a58e8057be3f3e.tar.bz2 volse-hubzilla-5243dd153bed7fe79188478922a58e8057be3f3e.zip |
use config system.server_role and deprecate 'UNO'
Diffstat (limited to 'include/account.php')
-rw-r--r-- | include/account.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/account.php b/include/account.php index 142ad1bea..5c44f13ca 100644 --- a/include/account.php +++ b/include/account.php @@ -407,7 +407,7 @@ function account_allow($hash) { pop_lang(); - if(get_config('system','auto_channel_create') || UNO) + if(get_config('system','auto_channel_create') || get_config('system','server_role') === 'basic') auto_channel_create($register[0]['uid']); if ($res) { @@ -511,7 +511,7 @@ function account_approve($hash) { - if(get_config('system','auto_channel_create') || UNO) + if(get_config('system','auto_channel_create') || get_config('system','server_role') === 'basic') auto_channel_create($register[0]['uid']); else { $_SESSION['login_return_url'] = 'new_channel'; |