diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-13 23:12:43 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-13 23:12:43 +0000 |
commit | e62ce5cca46c015629b39c3356bdb5df65f1369e (patch) | |
tree | 610d539f4f41129f76c64b0ffe5b63ec69133756 /mod/messages | |
parent | eac455ee0ef9ef1a8b23f066624a9ac78ed996bf (diff) | |
download | elgg-e62ce5cca46c015629b39c3356bdb5df65f1369e.tar.gz elgg-e62ce5cca46c015629b39c3356bdb5df65f1369e.tar.bz2 |
fixed WSOD because of function name change when using some 1.7 themes
git-svn-id: http://code.elgg.org/elgg/trunk@8698 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/messages')
-rw-r--r-- | mod/messages/start.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/messages/start.php b/mod/messages/start.php index 3e57eda79..24787ae03 100644 --- a/mod/messages/start.php +++ b/mod/messages/start.php @@ -304,6 +304,11 @@ function messages_url($message) { return $url; } +function count_unread_messages() { + elgg_deprecated_notice('Your theme is using count_unread_messages which has been deprecated for messages_count_unread()', 1.8); + return messages_count_unread(); +} + /** * Count the unread messages in a user's inbox * |