aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/start.php
diff options
context:
space:
mode:
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
*