From: Alexandre Emsenhuber Date: Sun, 7 Nov 2010 15:51:56 +0000 (+0000) Subject: Mark wfParseCIDR(), was moved to IP::parseCIDR() in r16625; also tag for removal... X-Git-Tag: 1.31.0-rc.0~34019 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=f765c2582d97ae1339bd95af36fce7cbac84d965;p=lhc%2Fweb%2Fwiklou.git Mark wfParseCIDR(), was moved to IP::parseCIDR() in r16625; also tag for removal, no use in core or extensions. --- diff --git a/includes/ProxyTools.php b/includes/ProxyTools.php index a0c48a2c9a..13c199654d 100644 --- a/includes/ProxyTools.php +++ b/includes/ProxyTools.php @@ -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 ); }