http://www.mediawiki.org/wiki/Special:Code/MediaWiki/76213
Revision: 76213 Author: ialex Date: 2010-11-06 20:10:55 +0000 (Sat, 06 Nov 2010) Log Message: ----------- added wfDeprecated() to wfRFC822Phrase() and userMailer(); tag for removal in 1.19 (last calls were removed in r76212) Modified Paths: -------------- trunk/phase3/includes/UserMailer.php Modified: trunk/phase3/includes/UserMailer.php =================================================================== --- trunk/phase3/includes/UserMailer.php 2010-11-06 20:05:13 UTC (rev 76212) +++ trunk/phase3/includes/UserMailer.php 2010-11-06 20:10:55 UTC (rev 76213) @@ -622,13 +622,18 @@ } # 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 _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs