From e62ce5cca46c015629b39c3356bdb5df65f1369e Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 13 Mar 2011 23:12:43 +0000 Subject: 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 --- mod/messages/start.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mod/messages/start.php') 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 * -- cgit v1.2.3