(bug 19751) Filesystem is now checked during image undeletion
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Fri, 4 Feb 2011 20:54:11 +0000 (20:54 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Fri, 4 Feb 2011 20:54:11 +0000 (20:54 +0000)
commit4ffb09ba4934873a711bf979d3526a953e03b558
tree8a1059c16216d6b23c8cbee348733e2d4c680bda
parent39e7d019d85d93fc6f5a079797cb60b3434c9743
(bug 19751) Filesystem is now checked during image undeletion
* FSRepo::storeBatch() now does an sha1 check unless SKIP_VALIDATION flag is set
* Introduced Status::$success in addition to Status::$successcount
** FSRepo::storeBatch() now logs success/failure in this variable
* LocalFileRestoreBatch now aborts on failure in FSRepo::storeBatch() and cleans up the already copied files
** Introduced FSRepo::cleanupBatch() for this purpose
* SpecialUndelete now aborts if LocalFile::restore() gives a fatal
RELEASE-NOTES
includes/Status.php
includes/filerepo/FSRepo.php
includes/filerepo/FileRepo.php
includes/filerepo/LocalFile.php
includes/specials/SpecialUndelete.php