aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-19 19:21:57 -0800
committerredmatrix <git@macgirvin.com>2016-02-19 19:21:57 -0800
commit8882ffc0def76a94d403d9ad4986534634785e6c (patch)
tree162714007bf7cc40c14771c62384b45b08c00f3e
parentfdd7faab515ebbec5e36368ed34776c89cb39ff3 (diff)
downloadvolse-hubzilla-8882ffc0def76a94d403d9ad4986534634785e6c.tar.gz
volse-hubzilla-8882ffc0def76a94d403d9ad4986534634785e6c.tar.bz2
volse-hubzilla-8882ffc0def76a94d403d9ad4986534634785e6c.zip
ensure auto_channel_create() is executed for all workflows when UNO is set.
-rw-r--r--include/account.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/account.php b/include/account.php
index dae0f4895..4c828003e 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'))
+ if(get_config('system','auto_channel_create') || UNO)
auto_channel_create($register[0]['uid']);
if ($res) {
@@ -500,7 +500,7 @@ function account_approve($hash) {
);
- if(get_config('system','auto_channel_create'))
+ if(get_config('system','auto_channel_create') || UNO)
auto_channel_create($register[0]['uid']);
info( t('Account verified. Please login.') . EOL );