Mark wfParseCIDR(), was moved to IP::parseCIDR() in r16625; also tag for removal...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 7 Nov 2010 15:51:56 +0000 (15:51 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 7 Nov 2010 15:51:56 +0000 (15:51 +0000)
includes/ProxyTools.php

index a0c48a2..13c1996 100644 (file)
@@ -186,9 +186,12 @@ 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 );
 }