From 476b532f157ddd31bc51c372ff45d69684dd4490 Mon Sep 17 00:00:00 2001 From: Kevin Israel Date: Fri, 20 Jun 2014 01:25:41 -0400 Subject: [PATCH] Fix copy-paste error in wfIsConfiguredProxy() It should call IP::isConfiguredProxy(), not IP::isTrustedProxy(). Follows-up e323bc33934d. Change-Id: I3caf8261f6058aa1a243c055b746b2fa61b1bf49 --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.20.1