X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=img_auth.php;h=22fd4014524b252ffeca73ed61e737f94101588d;hb=8a157f34c83a69c0b93be1a009f814179f4ff5ab;hp=f44cac0b97628730409020d7d16b61144846e9a3;hpb=68aab7ca8bd2bf7271a2f69aff1e7a60ab88078b;p=lhc%2Fweb%2Fwiklou.git diff --git a/img_auth.php b/img_auth.php index f44cac0b97..22fd401452 100644 --- a/img_auth.php +++ b/img_auth.php @@ -151,7 +151,7 @@ function wfImageAuthMain() { // Run hook for extension authorization plugins /** @var $result array */ $result = null; - if ( !wfRunHooks( 'ImgAuthBeforeStream', array( &$title, &$path, &$name, &$result ) ) ) { + if ( !Hooks::run( 'ImgAuthBeforeStream', array( &$title, &$path, &$name, &$result ) ) ) { wfForbidden( $result[0], $result[1], array_slice( $result, 2 ) ); return; }