X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Ffilebackend%2FFileOpBatch.php;h=56d70009822459d266b530110f87cbc951ceccf1;hb=a0dcdb49aad85293b0dc737b4e10b08b46ae415d;hp=e90fcb7820323680d34c96c1e7e8df29f2d4e646;hpb=ea484007509b0caa7190a8683d8ea78d8fdf97e4;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filebackend/FileOpBatch.php b/includes/filebackend/FileOpBatch.php index e90fcb7820..56d7000982 100644 --- a/includes/filebackend/FileOpBatch.php +++ b/includes/filebackend/FileOpBatch.php @@ -152,6 +152,8 @@ class FileOpBatch { // We can't continue (even with $ignoreErrors) as $predicates is wrong. // Log the remaining ops as failed for recovery... foreach ( $performOpsBatch as $i => $fileOp ) { + $status->success[$i] = false; + ++$status->failCount; $performOpsBatch[$i]->logFailure( 'attempt_aborted' ); } continue;