From: Ori Livneh Date: Sun, 13 Dec 2015 22:00:00 +0000 (-0800) Subject: Remove wfIsConfiguredProxy(), deprecated since 1.24 X-Git-Tag: 1.31.0-rc.0~8710 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=d8964a05fe6364e934fe6f1b5aa398ac4be603a8;p=lhc%2Fweb%2Fwiklou.git Remove wfIsConfiguredProxy(), deprecated since 1.24 No usage: https://github.com/search?utf8=%E2%9C%93&q=%40wikimedia+wfisconfiguredproxy&type=Code&ref=searchresults Change-Id: I3c1e1d00b93320cde9b39c183174e7a495f03854 --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 1a3ac48576..e30b3715cf 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -4072,19 +4072,6 @@ function wfIsInfinity( $str ) { return in_array( $str, $infinityValues ); } -/** - * Checks if an IP matches a proxy we've configured. - * @deprecated Since 1.24, use IP::isConfiguredProxy() - * - * @param string $ip - * @return bool - * @since 1.23 Supports CIDR ranges in $wgSquidServersNoPurge - */ -function wfIsConfiguredProxy( $ip ) { - wfDeprecated( __METHOD__, '1.24' ); - return IP::isConfiguredProxy( $ip ); -} - /** * Returns true if these thumbnail parameters match one that MediaWiki * requests from file description pages and/or parser output.