aboutsummaryrefslogtreecommitdiff
path: root/actions/systemsettings
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-07 21:49:19 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-07 21:49:19 +0000
commit7682706a46a20e3e58a9afd8ba208d5b0c040499 (patch)
treec8cb5e3d75609aa2b8f52748626bde7ffa7a041b /actions/systemsettings
parentff31226fdeb972aac2f37f0098240cb366a9bb26 (diff)
downloadelgg-7682706a46a20e3e58a9afd8ba208d5b0c040499.tar.gz
elgg-7682706a46a20e3e58a9afd8ba208d5b0c040499.tar.bz2
Adding an option to restrict new user registration in advanced site settings.
This is the first step in fully merging "Walled Garden" plugin into core Elgg engine. git-svn-id: http://code.elgg.org/elgg/trunk@5981 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/systemsettings')
-rw-r--r--actions/systemsettings/install.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php
index 589e3a06c..3516a2ff2 100644
--- a/actions/systemsettings/install.php
+++ b/actions/systemsettings/install.php
@@ -68,6 +68,7 @@ if (get_input('settings') == 'go') {
set_config('view', get_input('view'), $site->getGUID());
set_config('language', get_input('language'), $site->getGUID());
set_config('default_access', get_input('default_access'), $site->getGUID());
+ set_config('allow_registration', TRUE, $site->getGUID());
$debug = get_input('debug');
if ($debug) {