X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FTitleArray.php;h=0fb5b1e96ba06f428f866cbecedc23228a1f0d5b;hb=47a052b797ef8ef650aa799261c984f6abc295d8;hp=b67d9f4d67e59711e4b808dafe61e76d624abffc;hpb=8f66daf5a83935ddc2cd10d49911182099390dbd;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 ) {