aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-27 03:02:43 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-27 03:02:43 +0000
commit9672142684f84dd26f2520f8f33979e1c638041e (patch)
tree1a72a96c885e6d9b4f9c31df59d54a85a5113231 /engine
parent82593cd2bc056da73caa1b1e981c5a9ead0f1bf2 (diff)
downloadelgg-9672142684f84dd26f2520f8f33979e1c638041e.tar.gz
elgg-9672142684f84dd26f2520f8f33979e1c638041e.tar.bz2
Refs #3362. Removed use of $show_bad in elgg_get_plugins().
git-svn-id: http://code.elgg.org/elgg/trunk@9031 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/plugins.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index 5aed3065a..31b69ce3d 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -380,6 +380,7 @@ function elgg_get_plugins($status = 'active', $site_guid = null) {
$plugins = elgg_get_entities_from_relationship($options);
elgg_set_ignore_access($old_ia);
+ $cache[$cache_hash] = $plugins;
return $plugins;
}
@@ -397,7 +398,7 @@ function elgg_get_plugins($status = 'active', $site_guid = null) {
function elgg_set_plugin_priorities(array $order) {
$name = elgg_namespace_plugin_private_setting('internal', 'priority');
- $plugins = elgg_get_plugins('any', true);
+ $plugins = elgg_get_plugins('any');
if (!$plugins) {
return false;
}