From: Russ Nelson Date: Sun, 16 Oct 2011 23:03:17 +0000 (+0000) Subject: StoreBatchTest counts even MORE correct than before. X-Git-Tag: 1.31.0-rc.0~27052 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=0ae6de5ceb21b5b15df9c1a59da48f25500ddd41;p=lhc%2Fweb%2Fwiklou.git StoreBatchTest counts even MORE correct than before. --- diff --git a/includes/filerepo/FSRepo.php b/includes/filerepo/FSRepo.php index 7bc62225ba..99b8436f9d 100644 --- a/includes/filerepo/FSRepo.php +++ b/includes/filerepo/FSRepo.php @@ -220,9 +220,11 @@ class FSRepo extends FileRepo { $hashDest = sha1_file( $dstPath ); if ( $hashSource != $hashDest ) { $status->fatal( 'fileexistserror', $dstPath ); + $status->failCount++; } } else { $status->fatal( 'fileexistserror', $dstPath ); + $status->failCount++; } } }