aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/upgrades')
-rw-r--r--engine/lib/upgrades/2010050701.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2010050701.php b/engine/lib/upgrades/2010050701.php
index 554e10d8a..e327abdde 100644
--- a/engine/lib/upgrades/2010050701.php
+++ b/engine/lib/upgrades/2010050701.php
@@ -14,4 +14,8 @@ if (elgg_is_active_plugin('walledgarden')) {
set_config('walled_garden', FALSE);
}
+$disable_registration = elgg_get_config('disable_registration');
+$allow_registration = !$disable_registration;
+elgg_save_config('allow_registration', $allow_registration);
+
elgg_set_ignore_access($access);