From: Aaron Schulz Date: Sun, 12 May 2013 01:10:40 +0000 (-0700) Subject: Made copyFileBackend.php skip files that cannot be copied instead of stopping. X-Git-Tag: 1.31.0-rc.0~19703^2 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=7cb1672c9d4d11baf42cb52cab1ffee2abff5e45;p=lhc%2Fweb%2Fwiklou.git Made copyFileBackend.php skip files that cannot be copied instead of stopping. Change-Id: Ib15efdd35f38adefe3db500b4b6e5a71ea1858c7 --- diff --git a/maintenance/copyFileBackend.php b/maintenance/copyFileBackend.php index 6846edf701..736910a80c 100644 --- a/maintenance/copyFileBackend.php +++ b/maintenance/copyFileBackend.php @@ -192,8 +192,9 @@ class CopyFileBackend extends Maintenance { if ( $src->fileExists( array( 'src' => $srcPath ) ) === false ) { $this->error( "File '$srcPath' was listed be must have been deleted." ); } else { - $this->error( "Could not get local copy of $srcPath.", 1 ); // die + $this->error( "Could not get local copy of $srcPath." ); } + continue; } elseif ( !$fsFile->exists() ) { // FSFileBackends just return the path for getLocalReference() and paths with // illegal slashes may get normalized to a different path. This can cause the