From: Antoine Musso Date: Sat, 15 Jul 2006 12:41:42 +0000 (+0000) Subject: public static function isPublic X-Git-Tag: 1.31.0-rc.0~56240 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/voir.php?a=commitdiff_plain;h=cbc0ac3d48354494c85a31274487179a86152e23;p=lhc%2Fweb%2Fwiklou.git public static function isPublic --- diff --git a/includes/IP.php b/includes/IP.php index 2691a15be9..df36e6b81b 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 */ - function isPublic( $ip ) { - $n = IP::toUnsigned( $ip ); + public static function IsPublic( $ip ) { + $n = IP::ToUnsigned( $ip ); if ( !$n ) { return false; }