Remove begin/commit from recordUpload2()
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 6 Oct 2015 19:02:11 +0000 (12:02 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 6 Oct 2015 19:02:11 +0000 (12:02 -0700)
commitd9725ffe1645abd53b637a969678949d088863b3
tree5ae522b200f43d64bdba18cc49b41a9d530e74cc
parentf1da0a743199f0a625cdf1b5569510f2b76354c9
Remove begin/commit from recordUpload2()

Use deferred updates and transaction hooks
to get the cache updates after the publish()
DB updates instead

Change-Id: I0a922182f7dd5f22c1e661171b0df1a49a637aef
includes/filerepo/file/LocalFile.php