From 1b253c3e6aff377472048f3ebc5d1421732b9697 Mon Sep 17 00:00:00 2001 From: nickw Date: Fri, 30 Oct 2009 16:16:15 +0000 Subject: Removing deprecated function call from find_plugin_settings(). git-svn-id: http://code.elgg.org/elgg/trunk@3608 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/plugins.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engine/lib') 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(); -- cgit v1.2.3