Fixed small IDE error in \96syncFileBackend.php
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 18 Sep 2015 22:19:54 +0000 (15:19 -0700)
committerUmherirrender <umherirrender_de.wp@web.de>
Sat, 19 Sep 2015 17:12:15 +0000 (17:12 +0000)
Change-Id: I86c6cf73470109af2eb88d1c0d053292391630e7

maintenance/syncFileBackend.php

index 14a1502..63d5e9f 100644 (file)
@@ -159,6 +159,7 @@ class SyncFileBackend extends Maintenance {
                        $this->error( "Error: given starting ID greater than ending ID.", 1 );
                }
 
+               $next = null;
                do {
                        $limit = min( $this->mBatchSize, $end - $start + 1 ); // don't go pass ending ID
                        $this->output( "Doing id $start to " . ( $start + $limit - 1 ) . "...\n" );