aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades/2010050701.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/upgrades/2010050701.php')
-rw-r--r--engine/lib/upgrades/2010050701.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/engine/lib/upgrades/2010050701.php b/engine/lib/upgrades/2010050701.php
deleted file mode 100644
index 4a02a77c6..000000000
--- a/engine/lib/upgrades/2010050701.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-/**
- * Removes the Walled Garden plugin in favor of new system settings
- */
-
-$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);