Added missing File::RENDER_NOW flag to thumb.php

Change-Id: I5f05b09272ebcad5cf8409af7ad61d9e9004a2f0
This commit is contained in:
Aaron Schulz 2014-05-02 16:33:14 -07:00
parent c203dbda18
commit 5d286fad03

View file

@ -394,7 +394,7 @@ function wfGenerateThumbnail( File $file, array $params, $thumbName, $thumbPath
// If the worker that finished made this thumbnail then use it.
// Otherwise, it probably made a different thumbnail for this file.
return $file->getRepo()->fileExists( $thumbPath )
? $file->transform( $params )
? $file->transform( $params, File::RENDER_NOW )
: false; // retry once more in exclusive mode
},
'fallback' => function() {