aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-09 01:02:00 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-09 01:02:00 +0000
commit0154f867118ce33b2cfaa51677436e00502e223f (patch)
tree4e3021d8ae95c84c237ec2a867ba0caf4ad287b9 /engine
parentf6498706d2408aedbb9069e08b71c635b8c9a9d3 (diff)
downloadelgg-0154f867118ce33b2cfaa51677436e00502e223f.tar.gz
elgg-0154f867118ce33b2cfaa51677436e00502e223f.tar.bz2
Refs #2874: Using elgg_get_plugins() instead of get_installed_plugins().
git-svn-id: http://code.elgg.org/elgg/trunk@8084 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/classes/ElggPluginPackage.php4
-rw-r--r--engine/lib/admin.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/engine/classes/ElggPluginPackage.php b/engine/classes/ElggPluginPackage.php
index 7b033a9d8..e1b3427cc 100644
--- a/engine/classes/ElggPluginPackage.php
+++ b/engine/classes/ElggPluginPackage.php
@@ -415,7 +415,7 @@ class ElggPluginPackage {
* Checks if $plugins meets the requirement by $dep.
*
* @param array $dep An Elgg manifest.xml deps array
- * @param array $plugins A list of plugins as returned by get_installed_plugins();
+ * @param array $plugins A list of plugins as returned by elgg_get_plugins();
* @param bool $inverse Inverse the results to use as a conflicts.
* @return bool
*/
@@ -433,7 +433,7 @@ class ElggPluginPackage {
* Checks if $plugins meets the requirement by $dep.
*
* @param array $dep An Elgg manifest.xml deps array
- * @param array $plugins A list of plugins as returned by get_installed_plugins();
+ * @param array $plugins A list of plugins as returned by elgg_get_plugins();
* @param bool $inverse Inverse the results to use as a conflicts.
* @return bool
*/
diff --git a/engine/lib/admin.php b/engine/lib/admin.php
index cab6fe4e5..d076bbd3d 100644
--- a/engine/lib/admin.php
+++ b/engine/lib/admin.php
@@ -18,7 +18,7 @@
function elgg_admin_add_plugin_settings_menu() {
global $CONFIG;
- if (!$installed_plugins = get_installed_plugins()) {
+ if (!$installed_plugins = elgg_get_plugins()) {
// nothing added because no items
return FALSE;
}