aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/start.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-13 23:12:43 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-13 23:12:43 +0000
commite62ce5cca46c015629b39c3356bdb5df65f1369e (patch)
tree610d539f4f41129f76c64b0ffe5b63ec69133756 /mod/messages/start.php
parenteac455ee0ef9ef1a8b23f066624a9ac78ed996bf (diff)
downloadelgg-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/start.php')
-rw-r--r--mod/messages/start.php5
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
*