Cleanups to MigrateFileRepoLayout
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 5 Oct 2015 04:45:25 +0000 (21:45 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 5 Oct 2015 04:45:25 +0000 (21:45 -0700)
commitb4ff14f73026e38ae486dfd80f271d565204dbfb
treebb6b12b951baccb2a98952fabf4953daea78a4ba
parentd21c75418d856b06dcb6307c6f01ddda40f30b3c
Cleanups to MigrateFileRepoLayout

* Use "bypassReadOnly" as other file backend maintenance
  scripts do.  One may want to run this while site traffic
  is off via $wgReadOnly.
* Fixed handling for when img_sha1 is not set.
* Fixed some IDEA errors.

Change-Id: I95c426c5f2082576fc9ea40282d2869750a9f3d8
includes/Status.php
includes/filerepo/file/File.php
includes/filerepo/file/LocalFile.php
maintenance/migrateFileRepoLayout.php