X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FTitleArray.php;h=5a28b85035704231426b8df506412cae259949d6;hb=12e2154a6bbe3ae65c40ce2230dba9027b6fbb76;hp=b67d9f4d67e59711e4b808dafe61e76d624abffc;hpb=f9a88733ee9d4987b375147001ec6f9895748407;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/TitleArray.php b/includes/TitleArray.php index b67d9f4d67..5a28b85035 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, $res ] ) ) { return null; } if ( $array === null ) {