Remove begin/commit from recordOldUpload()
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 6 Oct 2015 18:10:33 +0000 (11:10 -0700)
committerKrinkle <krinklemail@gmail.com>
Wed, 7 Oct 2015 02:29:11 +0000 (02:29 +0000)
commit735455fd8f4c41c3ff8e85c2911261d95e28fe58
tree66eaf6069a5ef458de4c42417af020abfeb8ca84
parentcac3014651345b4fab5638c38bde8bd822734066
Remove begin/commit from recordOldUpload()

* The only caller already has has transaction via lock/unlock
  and does the file operations first (avoiding contention)
* Also made recordOldUpload() protected

Change-Id: Ib03ca76895a181ed513a289e2b44f6b97e4a1bc0
includes/filerepo/file/OldLocalFile.php