dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace wfRunHooks calls with direct Hooks::run calls
[lhc/web/wiklou.git]
/
includes
/
utils
/
IP.php
diff --git
a/includes/utils/IP.php
b/includes/utils/IP.php
index
77f9cd1
..
55a8994
100644
(file)
--- a/
includes/utils/IP.php
+++ b/
includes/utils/IP.php
@@
-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;
}