diff options
author | Chad Horohoe <demon@users.mediawiki.org> | 2009-08-02 21:55:10 +0000 |
---|---|---|
committer | Chad Horohoe <demon@users.mediawiki.org> | 2009-08-02 21:55:10 +0000 |
commit | 30468dbcf754c38a8f4e534951015159748776bc (patch) | |
tree | 679537c3bac19f4f764a6babaf80610c6c79c43a /maintenance/getLagTimes.php | |
parent | 5ff7ffe312d2881725293deb994c863103923271 (diff) | |
download | mediawikicore-30468dbcf754c38a8f4e534951015159748776bc.tar.gz mediawikicore-30468dbcf754c38a8f4e534951015159748776bc.zip |
Don't put \n on the end of every error() call, just do it in error() itself. Still have to use on output(), because people like "Something...done" stuff.
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/54240
Diffstat (limited to 'maintenance/getLagTimes.php')
-rw-r--r-- | maintenance/getLagTimes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/getLagTimes.php b/maintenance/getLagTimes.php index cdf73e8ede53..9c9f6b18a13f 100644 --- a/maintenance/getLagTimes.php +++ b/maintenance/getLagTimes.php @@ -31,7 +31,7 @@ class GetLagTimes extends Maintenance { if( $lb->getServerCount() == 1 ) { $this->error( "This script dumps replication lag times, but you don't seem to have\n" - . "a multi-host db server configuration.\n" ); + . "a multi-host db server configuration." ); } else { $lags = $lb->getLagTimes(); foreach( $lags as $n => $lag ) { |