[FileBackend] Added "bypassReadOnly" flag.
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 12 Jul 2012 19:48:16 +0000 (12:48 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 18 Jul 2012 03:55:49 +0000 (20:55 -0700)
commit6455336013211f663b633c1803d3653cb08964eb
treec49abdb1239e119300225831281691be78feb727
parent87d3f103967bcfb30d69cedd39a81e7e9a39ff05
[FileBackend] Added "bypassReadOnly" flag.

* Added flag to bypass read-only checks to the 6 write functions.
* Made backend copy and sync scripts pass in this new flag.
* Also made sync script use doQuickOperations() since its faster.

Change-Id: Iee47f79ed7ab002cfc2d0adb5321c3a8520f971d
includes/filerepo/backend/FileBackend.php
maintenance/copyFileBackend.php
maintenance/syncFileBackend.php