From d5511d979e38f73731297587c3de3a9fdec7f377 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Thu, 9 Dec 2010 11:27:59 +0000 Subject: [PATCH] Follow-up r78101: * add @deprecated to each deprecated method. * add @since to new method. --- includes/UserMailer.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 1d0f99f4ab..b93abb6c24 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -267,6 +267,7 @@ class UserMailer { /** * Converts a string into quoted-printable format + * @since 1.17 */ public static function quotedPrintable( $string, $charset = '' ) { # Probably incomplete; see RFC 2045 @@ -654,18 +655,24 @@ class EmailNotification { /**@{ * Backwards compatibility functions * - * @deprecated Use UserMailer methods; will be removed in 1.19 + * @deprecated Use UserMailer method deprecated in 1.18, remove in 1.19. */ function wfRFC822Phrase( $s ) { wfDeprecated( __FUNCTION__ ); return UserMailer::rfc822Phrase( $s ); } +/** + * @deprecated Use UserMailer method deprecated in 1.18, remove in 1.19. + */ function userMailer( $to, $from, $subject, $body, $replyto = null ) { wfDeprecated( __FUNCTION__ ); return UserMailer::send( $to, $from, $subject, $body, $replyto ); } +/** + * @deprecated Use UserMailer method deprecated in 1.18, remove in 1.19. + */ function wfQuotedPrintable( $string, $charset = '' ) { wfDeprecated( __FUNCTION__ ); return UserMailer::quotedPrintable( $string, $charset ); -- 2.20.1