X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FBlock.php;h=3896369ce4dc62edd3d7c7922bbb8973cd3f192f;hb=98fd36ef22b967960fd63ed29a6388011b473c90;hp=b6976b0c2fc80a38382112fd1a0be9f18d59388c;hpb=2b8254b2b5f5d1a698f298204410f22a393ab9fb;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