aboutsummaryrefslogtreecommitdiffstats
path: root/thumb.php
diff options
context:
space:
mode:
authorAaron Schulz <aschulz@wikimedia.org>2014-05-02 16:33:14 -0700
committerAaron Schulz <aschulz@wikimedia.org>2014-05-02 16:33:14 -0700
commit5d286fad03dbc8e722904fe56df2a2478c67edd8 (patch)
tree4b3009c79cfd3eb413c59d8b706208f8128fa508 /thumb.php
parentc203dbda18ec4efc89fc566b72e79bc7c545b7cd (diff)
downloadmediawikicore-5d286fad03dbc8e722904fe56df2a2478c67edd8.tar.gz
mediawikicore-5d286fad03dbc8e722904fe56df2a2478c67edd8.zip
Added missing File::RENDER_NOW flag to thumb.php
Change-Id: I5f05b09272ebcad5cf8409af7ad61d9e9004a2f0
Diffstat (limited to 'thumb.php')
-rw-r--r--thumb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/thumb.php b/thumb.php
index 3d49a4353bf9..59bf8dcffdc8 100644
--- a/thumb.php
+++ b/thumb.php
@@ -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() {