aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/plugins.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index d03f60442..daa543365 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -356,7 +356,8 @@ function check_plugin_compatibility($manifest_elgg_version_string) {
* are calling from.
*/
function find_plugin_settings($plugin_name = "") {
- $plugins = get_entities('object', 'plugin', 0, "", 9999);
+ $options = array('type' => object, 'subtype' => 'plugin', 'limit' => 9999);
+ $plugins = elgg_get_entities($options);
$plugin_name = sanitise_string($plugin_name);
if (!$plugin_name) {
$plugin_name = get_plugin_name();