From cbc0ac3d48354494c85a31274487179a86152e23 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sat, 15 Jul 2006 12:41:42 +0000 Subject: [PATCH] public static function isPublic --- includes/IP.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.20.1