X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=thumb.php;h=ad5239e297223dbbc1b451c86b1980e99ef79fa7;hb=cd7b045d1aaee69d1ccaa71baf2839f577b82e21;hp=35ab9f27e622ba6499ae2dfc2ecd9d19ce96909f;hpb=4314e570f4d243cea0d79ed4927f847bf2ec419a;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 );