From: Brion Vibber Date: Thu, 22 Dec 2005 06:48:42 +0000 (+0000) Subject: Restore clean, tail-friendly output X-Git-Tag: 1.6.0~902 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=commitdiff_plain;h=87cdeb11e83cbface41e1b0a380243cbfb36e5b3;p=lhc%2Fweb%2Fwiklou.git Restore clean, tail-friendly output --- diff --git a/maintenance/refreshLinks.inc b/maintenance/refreshLinks.inc index 2cacdcbcd0..feb91ef214 100644 --- a/maintenance/refreshLinks.inc +++ b/maintenance/refreshLinks.inc @@ -1,5 +1,4 @@ fetchObject( $res ) ) { if ( !( ++$i % REPORTING_INTERVAL ) ) { - print_c( $i - 1, $i ); + print "$i\n"; wfWaitForSlaves( $maxLag ); } @@ -55,7 +54,7 @@ function refreshLinks( $start, $newOnly = false, $maxLag = false ) { for ($id = $start; $id <= $end; $id++) { if ( !($id % REPORTING_INTERVAL) ) { - print_c( $id - 1, $id ); + print "$id\n"; wfWaitForSlaves( $maxLag ); } fixLinksFromArticle( $id );