From: Brion Vibber Date: Sun, 16 Jul 2006 20:58:40 +0000 (+0000) Subject: normalize case X-Git-Tag: 1.31.0-rc.0~56198 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=90d2083b113dc0196ce3453442c757044254bd42;p=lhc%2Fweb%2Fwiklou.git normalize case --- diff --git a/includes/IP.php b/includes/IP.php index df36e6b81b..e8b5b2e53f 100644 --- a/includes/IP.php +++ b/includes/IP.php @@ -39,8 +39,8 @@ class IP { * i.e. not RFC 1918 or similar * Comes from ProxyTools.php */ - public static function IsPublic( $ip ) { - $n = IP::ToUnsigned( $ip ); + public static function isPublic( $ip ) { + $n = IP::toUnsigned( $ip ); if ( !$n ) { return false; }