Browse files

MDL-31031 messages: deprecated message_get_my_providers function to b…

…e removed in 2.5
  • Loading branch information...
1 parent 3294034 commit f55cf492ebcad688a44ea354d45570c7fe83a9b4 @rajeshtaneja rajeshtaneja committed Jul 23, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/messagelib.php
View
3 lib/messagelib.php
@@ -370,11 +370,12 @@ function message_set_default_message_preference($component, $messagename, $filep
*
* @see message_get_providers_for_user()
* @deprecated since 2.1
- * @todo Remove in 2.2 (MDL-31031)
+ * @todo Remove in 2.5 (MDL-34454)
* @return array An array of message providers
*/
function message_get_my_providers() {
global $USER;
+ debugging('message_get_my_providers is deprecated please update your code', DEBUG_DEVELOPER);
return message_get_providers_for_user($USER->id);
}

0 comments on commit f55cf49

Please sign in to comment.