X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FTitleArray.php;h=0fb5b1e96ba06f428f866cbecedc23228a1f0d5b;hb=28c98539cd0fd4a1cf5e9ce7662b7a360fb64dbb;hp=b67d9f4d67e59711e4b808dafe61e76d624abffc;hpb=79ebb4b0288b709fb53cff8f7ebc5f50221931c9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/TitleArray.php b/includes/TitleArray.php index b67d9f4d67..0fb5b1e96b 100644 --- a/includes/TitleArray.php +++ b/includes/TitleArray.php @@ -37,7 +37,7 @@ abstract class TitleArray implements Iterator { */ static function newFromResult( $res ) { $array = null; - if ( !wfRunHooks( 'TitleArrayFromResult', array( &$array, $res ) ) ) { + if ( !Hooks::run( 'TitleArrayFromResult', array( &$array, $res ) ) ) { return null; } if ( $array === null ) {