r78121 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78120‎ | r78121 | r78122 >
Date:11:27, 9 December 2010
Author:siebrand
Status:ok
Tags:
Comment:
Follow-up r78101:
* add @deprecated to each deprecated method.
* add @since to new method.
Modified paths:
  • /trunk/phase3/includes/UserMailer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/UserMailer.php
@@ -267,6 +267,7 @@
268268
269269 /**
270270 * Converts a string into quoted-printable format
 271+ * @since 1.17
271272 */
272273 public static function quotedPrintable( $string, $charset = '' ) {
273274 # Probably incomplete; see RFC 2045
@@ -654,18 +655,24 @@
655656 /**@{
656657 * Backwards compatibility functions
657658 *
658 - * @deprecated Use UserMailer methods; will be removed in 1.19
 659+ * @deprecated Use UserMailer method deprecated in 1.18, remove in 1.19.
659660 */
660661 function wfRFC822Phrase( $s ) {
661662 wfDeprecated( __FUNCTION__ );
662663 return UserMailer::rfc822Phrase( $s );
663664 }
664665
 666+/**
 667+ * @deprecated Use UserMailer method deprecated in 1.18, remove in 1.19.
 668+ */
665669 function userMailer( $to, $from, $subject, $body, $replyto = null ) {
666670 wfDeprecated( __FUNCTION__ );
667671 return UserMailer::send( $to, $from, $subject, $body, $replyto );
668672 }
669673
 674+/**
 675+ * @deprecated Use UserMailer method deprecated in 1.18, remove in 1.19.
 676+ */
670677 function wfQuotedPrintable( $string, $charset = '' ) {
671678 wfDeprecated( __FUNCTION__ );
672679 return UserMailer::quotedPrintable( $string, $charset );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r78101Move wfQuotedPrintable() into UserMailer classplatonides23:09, 8 December 2010

Status & tagging log