aboutsummaryrefslogtreecommitdiffstats
path: root/includes/FileStore.php
diff options
context:
space:
mode:
authorTim Starling <tstarling@users.mediawiki.org>2007-03-31 16:53:31 +0000
committerTim Starling <tstarling@users.mediawiki.org>2007-03-31 16:53:31 +0000
commit8f10c34e348e142ebe3df5c216e78456b734d77c (patch)
treefdaa792b55a42695d2cdf345df6d67f413e4ec7c /includes/FileStore.php
parent74bad3a6ec59a94b6b321f3f822c0ac9cde024c2 (diff)
downloadmediawikicore-8f10c34e348e142ebe3df5c216e78456b734d77c.tar.gz
mediawikicore-8f10c34e348e142ebe3df5c216e78456b734d77c.zip
Exception text conventionally does not have a terminating line break.
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20867
Diffstat (limited to 'includes/FileStore.php')
-rw-r--r--includes/FileStore.php6
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'" );
}
}