Move thumbnail rendering to a more appropriate spot
authorGilles Dubuc <gdubuc@wikimedia.org>
Tue, 16 Aug 2016 11:44:08 +0000 (13:44 +0200)
committerGilles Dubuc <gdubuc@wikimedia.org>
Tue, 16 Aug 2016 12:19:20 +0000 (14:19 +0200)
commit7e0d148f5790711f992f96f76a1e78e61d711db9
tree53e4d2177f5f3c9db48ab5bbbffc0fb8b614f097
parent49be087c41ef8fd803ef066d32bd1fad3e92d718
Move thumbnail rendering to a more appropriate spot

At the moment the job might start before the transaction
that creates the file's row in the DB has had a chance
to run.

Bug: T106740
Change-Id: If5b94e83d8bbcc6aebfe7193f7b580f03cbd627d
includes/filerepo/file/LocalFile.php
includes/upload/UploadBase.php