Simpler method for mixing and clipping when computing a second-try hash value
[lhc/web/wiklou.git] / thumb.php
index 6af0698..bb37e6e 100644 (file)
--- a/thumb.php
+++ b/thumb.php
@@ -73,7 +73,7 @@ function wfThumbMain() {
                wfThumbError( 404, 'The source file for the specified thumbnail does not exist.' );
                return;
        }
-       $sourcePath = $isOld ? $img->getArchivePath() : $img->getPath();
+       $sourcePath = $img->getPath();
        if ( $sourcePath === false ) {
                wfThumbError( 500, 'The source file is not locally accessible.' );
                return;