diff options
Diffstat (limited to 'engine/lib/upgrades')
-rw-r--r-- | engine/lib/upgrades/2010050701.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2010050701.php b/engine/lib/upgrades/2010050701.php index 33e4b5bae..4a02a77c6 100644 --- a/engine/lib/upgrades/2010050701.php +++ b/engine/lib/upgrades/2010050701.php @@ -8,8 +8,10 @@ $access = elgg_set_ignore_access(TRUE); if (is_plugin_enabled('walledgarden')) { disable_plugin('walledgarden'); set_config('allow_registration', FALSE); + set_config('walled_garden', TRUE); } else { set_config('allow_registration', TRUE); + set_config('walled_garden', FALSE); } elgg_set_ignore_access($access); |