X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=thumb.php;h=2079a64766973fc13f1c9a47afaf2c96c3fc6cfe;hb=9622c07f463cd896402d5b2524dd684d871c345d;hp=2ea3f0761ff48e9c2cf8444aeffe61ff9d4a5718;hpb=3bdc9d715f696c1aee226e3993466adde14cdead;p=lhc%2Fweb%2Fwiklou.git diff --git a/thumb.php b/thumb.php index 2ea3f0761f..2079a64766 100644 --- a/thumb.php +++ b/thumb.php @@ -502,7 +502,7 @@ function wfExtractThumbParams( $file, $params ) { unset( $params['thumbName'] ); // Do the hook first for older extensions that rely on it. - if ( !wfRunHooks( 'ExtractThumbParameters', array( $thumbname, &$params ) ) ) { + if ( !Hooks::run( 'ExtractThumbParameters', array( $thumbname, &$params ) ) ) { // Check hooks if parameters can be extracted // Hooks return false if they manage to *resolve* the parameters // This hook should be considered deprecated