Convert recordUpload2() to using startAtomic/endAtomic
authorAaron Schulz <aschulz@wikimedia.org>
Sun, 1 Nov 2015 22:29:05 +0000 (14:29 -0800)
committerKrinkle <krinklemail@gmail.com>
Thu, 5 Nov 2015 18:33:38 +0000 (18:33 +0000)
commit8e1f6d55067f1c1ca62a5d516a75e0b24017db9b
treeee6d48d94150adf5949d1e5ab9dc0d7db9d08280
parentcb2896f90ebef77c02c9da4067b0e56e37471092
Convert recordUpload2() to using startAtomic/endAtomic

* This avoids breaking transactions due to nesting
* Also improve readability a bit in this area

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