dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c203dbd
)
Added missing File::RENDER_NOW flag to thumb.php
author
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 2 May 2014 23:33:14 +0000
(16:33 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 2 May 2014 23:33:14 +0000
(16:33 -0700)
Change-Id: I5f05b09272ebcad5cf8409af7ad61d9e9004a2f0
thumb.php
patch
|
blob
|
history
diff --git
a/thumb.php
b/thumb.php
index
3d49a43
..
59bf8dc
100644
(file)
--- 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() {