Remove wfIsConfiguredProxy(), deprecated since 1.24
authorOri Livneh <ori@wikimedia.org>
Sun, 13 Dec 2015 22:00:00 +0000 (14:00 -0800)
committerReedy <reedy@wikimedia.org>
Sun, 13 Dec 2015 22:27:26 +0000 (22:27 +0000)
No usage:
https://github.com/search?utf8=%E2%9C%93&q=%40wikimedia+wfisconfiguredproxy&type=Code&ref=searchresults

Change-Id: I3c1e1d00b93320cde9b39c183174e7a495f03854

includes/GlobalFunctions.php

index 1a3ac48..e30b371 100644 (file)
@@ -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.