diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-12 21:59:10 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-12 21:59:10 +0000 |
commit | daadd01b5eaf9da933a9fa35a0dec57bdca790a6 (patch) | |
tree | f95157388d314a0dc549f48dd9cfc2dad0fecd86 /engine/lib/notification.php | |
parent | 59efd0b27c25fa0f759dbfd4ec29061d86b6c402 (diff) | |
download | elgg-daadd01b5eaf9da933a9fa35a0dec57bdca790a6.tar.gz elgg-daadd01b5eaf9da933a9fa35a0dec57bdca790a6.tar.bz2 |
Refs #650: Replaced uses of get_metadata_for_entity() by elgg_get_metadata().
git-svn-id: http://code.elgg.org/elgg/trunk@8177 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/notification.php')
-rw-r--r-- | engine/lib/notification.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php index 841920d8b..b48fec2fe 100644 --- a/engine/lib/notification.php +++ b/engine/lib/notification.php @@ -173,7 +173,11 @@ function get_user_notification_settings($user_guid = 0) { $user_guid = elgg_get_logged_in_user_guid(); } - $all_metadata = get_metadata_for_entity($user_guid); + // @todo: holy crap, really? + $all_metadata = elgg_get_metadata(array( + 'guid' => $user_guid, + 'limit' => 0 + )); if ($all_metadata) { $prefix = "notification:method:"; $return = new stdClass; |