X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=thumb.php;h=ad5239e297223dbbc1b451c86b1980e99ef79fa7;hb=96b2c66e242954d8591e7b8ca7b9d6a2a4e1074a;hp=35ab9f27e622ba6499ae2dfc2ecd9d19ce96909f;hpb=53e30990a59c233c0d72cde674431641df24c859;p=lhc%2Fweb%2Fwiklou.git diff --git a/thumb.php b/thumb.php index 35ab9f27e6..ad5239e297 100644 --- a/thumb.php +++ b/thumb.php @@ -180,7 +180,6 @@ function wfStreamThumb( array $params ) { return; } - // Check the source file storage path if ( !$img->exists() ) { $redirectedLocation = false; @@ -247,7 +246,6 @@ function wfStreamThumb( array $params ) { unset( $params['r'] ); // ignore 'r' because we unconditionally pass File::RENDER unset( $params['f'] ); // We're done with 'f' parameter. - // Get the normalized thumbnail name from the parameters... try { $thumbName = $img->thumbName( $params );