Permalink
Browse files

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
  • Loading branch information...
1 parent 82593cd commit 9672142684f84dd26f2520f8f33979e1c638041e @brettp brettp committed Apr 27, 2011
Showing with 3 additions and 2 deletions.
  1. +2 −1 engine/lib/plugins.php
  2. +1 −1 views/default/admin/plugins/advanced.php
View
@@ -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;
}
@@ -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

0 comments on commit 9672142

Please sign in to comment.