aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-30 14:35:17 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-30 14:35:17 +0000
commit66d698df72d618a2d7121a6b2d6e347e07dd8e86 (patch)
tree2e7cac0f311641fc10cb8714031d0613ef74ddc0
parent9b52e52ec3da4cb5b10f44c6dd46913171c4f54a (diff)
downloadelgg-66d698df72d618a2d7121a6b2d6e347e07dd8e86.tar.gz
elgg-66d698df72d618a2d7121a6b2d6e347e07dd8e86.tar.bz2
Actually, bad idea...
git-svn-id: https://code.elgg.org/elgg/trunk@2153 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/plugins.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index 922b28e11..a71b6ecad 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -407,9 +407,9 @@
$new_enabled[] = $plugin;
$new_enabled = array_unique($new_enabled);
- trigger_elgg_event('plugin_enable', $plugin);
+ $return = $site->setMetaData('enabled_plugins', $new_enabled);
- return $site->setMetaData('enabled_plugins', $new_enabled);
+ return $return;
}
/**
@@ -438,9 +438,9 @@
if ($plugin != $plug)
$new_enabled[] = $plug;
- trigger_elgg_event('plugin_disable', $plugin);
+ $return = $site->setMetaData('enabled_plugins', $new_enabled);
- return $site->setMetaData('enabled_plugins', $new_enabled);
+ return $return;
}
/**