In FileBackend:
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 13 Jan 2012 23:30:46 +0000 (23:30 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 13 Jan 2012 23:30:46 +0000 (23:30 +0000)
commit36c143110a88965c5a6aa8db8b62c04f0acc214b
treef68503acb1e557a3907e5f199af4f9af517220d4
parentd7520ca7605994fd850a6ed0ba91897cf36dab10
In FileBackend:
* Made secure() call doPrepare() for caller dummy proofing (especially those that don't check the status).
In FSFileBackend:
* Removed redundant wfMkdirParents() calls in FSFileBackend, we already have prepare() for this purpose. This also keeps it's behavior more consistent with the other backends.
* Made use of 'backend-fail-store' message in doStoreInternal().
Other:
* Updated unit tests and renamed $src => $source in some functions for consistency.
* Added some documentation comments and @since tags.
includes/filerepo/backend/FSFileBackend.php
includes/filerepo/backend/FileBackend.php
includes/filerepo/backend/FileBackendGroup.php
includes/filerepo/backend/FileBackendMultiWrite.php
includes/filerepo/backend/FileOp.php
includes/filerepo/backend/lockmanager/DBLockManager.php
includes/filerepo/backend/lockmanager/FSLockManager.php
includes/filerepo/backend/lockmanager/LSLockManager.php
includes/filerepo/backend/lockmanager/LockManager.php
includes/filerepo/backend/lockmanager/LockManagerGroup.php
tests/phpunit/includes/filerepo/FileBackendTest.php