Index: trunk/phase3/includes/filerepo/backend/FileOp.php |
— | — | @@ -134,13 +134,12 @@ |
135 | 135 | } else { |
136 | 136 | $status->success[$index] = false; |
137 | 137 | ++$status->failCount; |
138 | | - if ( !$ignoreErrors ) { |
139 | | - // Log remaining ops as failed for recovery... |
140 | | - for ( $i = ($index + 1); $i < count( $performOps ); $i++ ) { |
141 | | - $performOps[$i]->logFailure( 'attempt_aborted' ); |
142 | | - } |
143 | | - return $status; // bail out |
| 138 | + // We can't continue (even with $ignoreErrors) as $predicates is wrong. |
| 139 | + // Log the remaining ops as failed for recovery... |
| 140 | + for ( $i = ($index + 1); $i < count( $performOps ); $i++ ) { |
| 141 | + $performOps[$i]->logFailure( 'attempt_aborted' ); |
144 | 142 | } |
| 143 | + return $status; // bail out |
145 | 144 | } |
146 | 145 | } |
147 | 146 | |