Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/63265


Change subject: Added missing continue to avoid fatal error.
......................................................................

Added missing continue to avoid fatal error.

Change-Id: Ibb87c9e59e424fa84d662bb42349085d186dcc99
---
M maintenance/copyFileBackend.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/65/63265/1

diff --git a/maintenance/copyFileBackend.php b/maintenance/copyFileBackend.php
index 6846edf..8597890 100644
--- a/maintenance/copyFileBackend.php
+++ b/maintenance/copyFileBackend.php
@@ -191,6 +191,7 @@
                        if ( !$fsFile ) {
                                if ( $src->fileExists( array( 'src' => $srcPath 
) ) === false ) {
                                        $this->error( "File '$srcPath' was 
listed be must have been deleted." );
+                                       continue;
                                } else {
                                        $this->error( "Could not get local copy 
of $srcPath.", 1 ); // die
                                }

-- 
To view, visit https://gerrit.wikimedia.org/r/63265
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb87c9e59e424fa84d662bb42349085d186dcc99
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to