aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/plugins.php3
-rw-r--r--views/default/admin/plugins/advanced.php2
2 files changed, 3 insertions, 2 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;
}
diff --git a/views/default/admin/plugins/advanced.php b/views/default/admin/plugins/advanced.php
index 550154fcd..ea72bab5a 100644
--- a/views/default/admin/plugins/advanced.php
+++ b/views/default/admin/plugins/advanced.php
@@ -9,7 +9,7 @@
*/
elgg_generate_plugin_entities();
-$installed_plugins = elgg_get_plugins('any', true);
+$installed_plugins = elgg_get_plugins('any');
$show_category = get_input('category', null);
// Get a list of the all categories