r76213 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76212‎ | r76213 | r76214 >
Date:20:10, 6 November 2010
Author:ialex
Status:ok
Tags:
Comment:
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) (history)

Diff [purge]

Index: trunk/phase3/includes/UserMailer.php
@@ -622,13 +622,18 @@
623623
624624 } # end of class EmailNotification
625625
626 -/**
 626+/**@{
627627 * Backwards compatibility functions
 628+ *
 629+ * @deprecated Use UserMailer methods; will be removed in 1.19
628630 */
629631 function wfRFC822Phrase( $s ) {
 632+ wfDeprecated( __FUNCTION__ );
630633 return UserMailer::rfc822Phrase( $s );
631634 }
632635
633636 function userMailer( $to, $from, $subject, $body, $replyto=null ) {
 637+ wfDeprecated( __FUNCTION__ );
634638 return UserMailer::send( $to, $from, $subject, $body, $replyto );
635639 }
 640+/**@}*/
\ No newline at end of file

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76212Replaced remaining calls to userMailer() by UserMailer::send()ialex20:05, 6 November 2010

Status & tagging log