aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-30 16:16:15 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-30 16:16:15 +0000
commit1b253c3e6aff377472048f3ebc5d1421732b9697 (patch)
tree84fcb93d3875be8f02b3e9aa1766636b5d6fc8cb
parent0b86e98313e6c046abbcd70a4c43fa9ecb68a64a (diff)
downloadelgg-1b253c3e6aff377472048f3ebc5d1421732b9697.tar.gz
elgg-1b253c3e6aff377472048f3ebc5d1421732b9697.tar.bz2
Removing deprecated function call from find_plugin_settings().
git-svn-id: http://code.elgg.org/elgg/trunk@3608 36083f99-b078-4883-b0ff-0f9b5a30f544
-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();