X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FrenderDump.php;h=2039a21603e860606fe134c852b63e11bdd55293;hb=a6d2365015aaa4b26729492cdc25f1a69920b2f6;hp=2ba2b3dce32154ac3e71caf1f5d621a4412e644a;hpb=7869ebbc249d478288caa1c0a858abdd5f699b76;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/renderDump.php b/maintenance/renderDump.php index 2ba2b3dce3..2039a21603 100644 --- a/maintenance/renderDump.php +++ b/maintenance/renderDump.php @@ -69,9 +69,10 @@ class DumpRenderer extends Maintenance { $importer->doImport(); $delta = microtime( true ) - $this->startTime; - $this->error( "Rendered {$this->count} pages in " . round($delta, 2) . " seconds " ); - if ($delta > 0) - $this->error( round($this->count / $delta, 2) . " pages/sec" ); + $this->error( "Rendered {$this->count} pages in " . round( $delta, 2 ) . " seconds " ); + if ( $delta > 0 ) { + $this->error( round( $this->count / $delta, 2 ) . " pages/sec" ); + } $this->error( "\n" ); }