Removed more functions marked for removal in 1.19: wfParseCIDR(), wfRFC822Phrase...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 6 May 2011 18:22:37 +0000 (18:22 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 6 May 2011 18:22:37 +0000 (18:22 +0000)
includes/ProxyTools.php
includes/UserMailer.php

index c45caf0..3d4bb88 100644 (file)
@@ -180,17 +180,6 @@ function wfProxyCheck() {
        }
 }
 
-/**
- * Convert a network specification in CIDR notation to an integer network and a number of bits
- *
- * @deprecated Call IP::parseCIDR() directly, will be removed in 1.19
- * @return array(string, int)
- */
-function wfParseCIDR( $range ) {
-       wfDeprecated( __FUNCTION__ );
-       return IP::parseCIDR( $range );
-}
-
 /**
  * Check if an IP address is in the local proxy list
  * @return bool
index 31ff18b..cca9c59 100644 (file)
@@ -661,23 +661,3 @@ class EmailNotification {
        }
 
 } # end of class EmailNotification
-
-/**@{
- * Backwards compatibility functions
- *
- * @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 );
-}
-
-/**@}*/