* Use the preeety count
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 1 Nov 2005 19:23:18 +0000 (19:23 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 1 Nov 2005 19:23:18 +0000 (19:23 +0000)
maintenance/update.php

index 9064780..e343734 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+require_once 'counter.php';
 /**
  * Run all updaters.
  *
@@ -24,11 +25,11 @@ print "Depending on the size of your database this may take a while!\n";
 if( !isset( $options['quick'] ) ) {
        print "Abort with control-c in the next five seconds... ";
 
-       for ($i = 5; $i >= 0; --$i) {
-               echo $i;
+       for ($i = 6; $i >= 1;) {
+               print_c($i, --$i);
                sleep(1);
-               echo( ($i == 0) ? "\n" : chr(8) );
        }
+       die();
 }
 
 do_all_updates();