Merge "mediawiki.api: Do not cache errors in getToken()"
[lhc/web/wiklou.git] / includes / filebackend / FileOpBatch.php
index e90fcb7..56d7000 100644 (file)
@@ -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;