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