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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/upgrades/2010050701.php b/engine/lib/upgrades/2010050701.php
index 4a02a77c6..554e10d8a 100644
--- a/engine/lib/upgrades/2010050701.php
+++ b/engine/lib/upgrades/2010050701.php
@@ -5,7 +5,7 @@
$access = elgg_set_ignore_access(TRUE);
-if (is_plugin_enabled('walledgarden')) {
+if (elgg_is_active_plugin('walledgarden')) {
disable_plugin('walledgarden');
set_config('allow_registration', FALSE);
set_config('walled_garden', TRUE);