]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #3362. Removed use of $show_bad in elgg_get_plugins().
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 27 Apr 2011 03:02:43 +0000 (03:02 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 27 Apr 2011 03:02:43 +0000 (03:02 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@9031 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/plugins.php
views/default/admin/plugins/advanced.php

index 5aed3065af9ade8b123760abdbc38447a664e16f..31b69ce3dd2f7284c2aefec87124383b999f0071 100644 (file)
@@ -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;
        }
index 550154fcd9ae5bdcf735ce86f3635774f692a03f..ea72bab5ae6ab855d299b60f805f28247259aa43 100644 (file)
@@ -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