aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/plugins.php')
-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;
}