r45100 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45099‎ | r45100 | r45101 >
Date:19:32, 27 December 2008
Author:ialex
Status:ok
Tags:
Comment:
Added new line so that it doesn't break output
Modified paths:
  • /trunk/phase3/maintenance/stats.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/stats.php
@@ -15,7 +15,7 @@
1616 $noSession = intval($wgMemc->get(wfMemcKey('stats','request_without_session')));
1717 $total = $session + $noSession;
1818 if ( $total == 0 ) {
19 - die("You either have no stats or memcached isn't running. Aborting.");
 19+ die("You either have no stats or memcached isn't running. Aborting.\n");
2020 }
2121 print "Requests\n";
2222 printf( "with session: %-10d %6.2f%%\n", $session, $session/$total*100 );

Status & tagging log