From: Alexandre Emsenhuber Date: Sat, 6 Nov 2010 20:10:55 +0000 (+0000) Subject: added wfDeprecated() to wfRFC822Phrase() and userMailer(); tag for removal in 1.19... X-Git-Tag: 1.31.0-rc.0~34036 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=06a3539699bf1a5dd74349317e75b3c94b7ba1fe;p=lhc%2Fweb%2Fwiklou.git added wfDeprecated() to wfRFC822Phrase() and userMailer(); tag for removal in 1.19 (last calls were removed in r76212) --- 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