diff options
Diffstat (limited to 'includes/FileStore.php')
-rw-r--r-- | includes/FileStore.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/FileStore.php b/includes/FileStore.php index 1fd35b01f618..8f25e2e1a88a 100644 --- a/includes/FileStore.php +++ b/includes/FileStore.php @@ -106,7 +106,7 @@ class FileStore { private function copyFile( $sourcePath, $destPath, $flags=0 ) { if( !file_exists( $sourcePath ) ) { // Abort! Abort! - throw new FSException( "missing source file '$sourcePath'\n" ); + throw new FSException( "missing source file '$sourcePath'" ); } $transaction = new FSTransaction(); @@ -125,7 +125,7 @@ class FileStore { if( !$ok ) { throw new FSException( - "failed to create directory for '$destPath'\n" ); + "failed to create directory for '$destPath'" ); } } @@ -138,7 +138,7 @@ class FileStore { $transaction->addRollback( FSTransaction::DELETE_FILE, $destPath ); } else { throw new FSException( - __METHOD__." failed to copy '$sourcePath' to '$destPath'\n" ); + __METHOD__." failed to copy '$sourcePath' to '$destPath'" ); } } |