Merge "Make copyTestData work on postgres"
[lhc/web/wiklou.git] / maintenance / deleteBatch.php
index 09e8211..fe3bea0 100644 (file)
@@ -80,8 +80,6 @@ class DeleteBatch extends Maintenance {
                        $this->fatalError( "Unable to read file, exiting" );
                }
 
-               $dbw = $this->getDB( DB_MASTER );
-
                # Handle each entry
                for ( $linenum = 1; !feof( $file ); $linenum++ ) {
                        $line = trim( fgets( $file ) );