aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/deprecated-1.8.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/deprecated-1.8.php')
-rw-r--r--engine/lib/deprecated-1.8.php14
1 files changed, 1 insertions, 13 deletions
diff --git a/engine/lib/deprecated-1.8.php b/engine/lib/deprecated-1.8.php
index 684e8f9b3..ee3265a12 100644
--- a/engine/lib/deprecated-1.8.php
+++ b/engine/lib/deprecated-1.8.php
@@ -2972,19 +2972,7 @@ function load_plugins() {
*/
function find_plugin_usersettings($plugin_id = null, $user_guid = 0) {
elgg_deprecated_notice('find_plugin_usersettings() is deprecated by elgg_get_all_plugin_user_settings()', 1.8);
-
- $settings = elgg_get_all_plugin_user_settings($user_guid, $plugin_id);
- $return = false;
-
- if ($settings) {
- $return = new stdClass;
-
- foreach ($settings as $k => $v) {
- $return->$k = $v;
- }
- }
-
- return $return;
+ return elgg_get_all_plugin_user_settings($user_guid, $plugin_id, true);
}
/**