From: Kevin Israel Date: Fri, 20 Jun 2014 05:25:41 +0000 (-0400) Subject: Fix copy-paste error in wfIsConfiguredProxy() X-Git-Tag: 1.31.0-rc.0~15324 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=476b532f157ddd31bc51c372ff45d69684dd4490;p=lhc%2Fweb%2Fwiklou.git Fix copy-paste error in wfIsConfiguredProxy() It should call IP::isConfiguredProxy(), not IP::isTrustedProxy(). Follows-up e323bc33934d. Change-Id: I3caf8261f6058aa1a243c055b746b2fa61b1bf49 --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index c95c380541..49d07b6185 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -4221,5 +4221,5 @@ function wfIsTrustedProxy( $ip ) { * @since 1.23 Supports CIDR ranges in $wgSquidServersNoPurge */ function wfIsConfiguredProxy( $ip ) { - return IP::isTrustedProxy( $ip ); + return IP::isConfiguredProxy( $ip ); }