aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
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;
}