Index: trunk/extensions/FlaggedRevs/maintenance/updateQueryCache.php |
— | — | @@ -18,14 +18,14 @@ |
19 | 19 | } |
20 | 20 | |
21 | 21 | public function execute() { |
22 | | - print sprintf( '%-30s ', 'UnreviewedPages' ); |
| 22 | + $this->output( sprintf( '%-30s ', 'UnreviewedPages' ) ); |
23 | 23 | |
24 | 24 | $time1 = microtime( true ); |
25 | 25 | UnreviewedPages::updateQueryCache(); |
26 | 26 | $time2 = microtime( true ); |
27 | 27 | |
28 | 28 | $ellapsed = ( $time2 - $time1 ); |
29 | | - print sprintf( "completed in %.2fs\n", $ellapsed ); |
| 29 | + $this->output( sprintf( "completed in %.2fs\n", $ellapsed ) ); |
30 | 30 | } |
31 | 31 | } |
32 | 32 | |
Index: trunk/extensions/FlaggedRevs/maintenance/updateStats.php |
— | — | @@ -18,14 +18,14 @@ |
19 | 19 | } |
20 | 20 | |
21 | 21 | public function execute() { |
22 | | - print sprintf( '%-30s ', 'ValidationStatistics' ); |
| 22 | + $this->output( sprintf( '%-30s ', 'ValidationStatistics' ) ); |
23 | 23 | |
24 | 24 | $time1 = microtime( true ); |
25 | 25 | FlaggedRevsStats::updateCache(); |
26 | 26 | $time2 = microtime( true ); |
27 | 27 | |
28 | 28 | $ellapsed = ( $time2 - $time1 ); |
29 | | - print sprintf( "completed in %.2fs\n", $ellapsed ); |
| 29 | + $this->output( sprintf( "completed in %.2fs\n", $ellapsed ) ); |
30 | 30 | } |
31 | 31 | } |
32 | 32 | |