X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2FBlock.php;h=3896369ce4dc62edd3d7c7922bbb8973cd3f192f;hb=a574a40dc588a68d041b08c752b306c617a23428;hp=b6976b0c2fc80a38382112fd1a0be9f18d59388c;hpb=e8de5bb5f6d6b0da357d365521f6c87c4d652385;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Block.php b/includes/Block.php index b6976b0c2f..3896369ce4 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -1050,7 +1050,7 @@ class Block { continue; } # Don't check trusted IPs (includes local squids which will be in every request) - if ( wfIsTrustedProxy( $ipaddr ) ) { + if ( IP::isTrustedProxy( $ipaddr ) ) { continue; } # Check both the original IP (to check against single blocks), as well as build