Replace wfRunHooks calls with direct Hooks::run calls
[lhc/web/wiklou.git] / includes / utils / IP.php
index 77f9cd1..55a8994 100644 (file)
@@ -717,7 +717,7 @@ class IP {
         */
        public static function isTrustedProxy( $ip ) {
                $trusted = self::isConfiguredProxy( $ip );
-               wfRunHooks( 'IsTrustedProxy', array( &$ip, &$trusted ) );
+               Hooks::run( 'IsTrustedProxy', array( &$ip, &$trusted ) );
                return $trusted;
        }