* Follow-up r107170: Moved FileBackend::concatenate() outside of doOperations() as...
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 8 Jan 2012 09:25:15 +0000 (09:25 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 8 Jan 2012 09:25:15 +0000 (09:25 +0000)
commit94c303910627b784958818322dcf70fc926dcc5b
tree2747a51464f2ad6d332e00b66220b82498bdc5c3
parent360e3376bf2d1cd460d849f5e316a5ccf975b344
* Follow-up r107170: Moved FileBackend::concatenate() outside of doOperations() as it's own separate operation. It does not mutate storage files like the others and having it in doOperations() broke FileBackendMultiWrite. This change also makes overriding doOperationsInternal() easier (suching as using a custom batch operation storage API).
* Added sanity check to FileBackendMultiWrite constructor.
* Moved FileBackend::create() function up a bit.
includes/filerepo/FileRepo.php
includes/filerepo/backend/FileBackend.php
includes/filerepo/backend/FileBackendMultiWrite.php
includes/filerepo/backend/FileOp.php
tests/phpunit/includes/filerepo/FileBackendTest.php