From 06a3539699bf1a5dd74349317e75b3c94b7ba1fe Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 6 Nov 2010 20:10:55 +0000 Subject: [PATCH] added wfDeprecated() to wfRFC822Phrase() and userMailer(); tag for removal in 1.19 (last calls were removed in r76212) --- includes/UserMailer.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 4121245048..39674069c4 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -622,13 +622,18 @@ class EmailNotification { } # end of class EmailNotification -/** +/**@{ * Backwards compatibility functions + * + * @deprecated Use UserMailer methods; will be removed in 1.19 */ function wfRFC822Phrase( $s ) { + wfDeprecated( __FUNCTION__ ); return UserMailer::rfc822Phrase( $s ); } function userMailer( $to, $from, $subject, $body, $replyto=null ) { + wfDeprecated( __FUNCTION__ ); return UserMailer::send( $to, $from, $subject, $body, $replyto ); } +/**@}*/ \ No newline at end of file -- 2.20.1