X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=thumb.php;h=2079a64766973fc13f1c9a47afaf2c96c3fc6cfe;hb=818d781fb443947d6e9944700d1227c04c3ff4d4;hp=2ea3f0761ff48e9c2cf8444aeffe61ff9d4a5718;hpb=1c844cb10c29ebe5d11c1c117b58823f45618bd6;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