Replace spaces with tabs
[lhc/web/wiklou.git] / maintenance / runBatchedQuery.php
index e641db8..9a6b638 100644 (file)
@@ -38,14 +38,14 @@ class BatchedQueryRunner extends Maintenance {
                $query = $this->getArg();
                $wait = $this->getOption( 'wait', 5 );
                $n = 1;
-               $dbw = wfGetDb( DB_MASTER );
+               $dbw = wfGetDB( DB_MASTER );
                do {
                        $this->output( "Batch $n: " );
                        $n++;
                        $dbw->query( $query, __METHOD__ );
                        $affected = $dbw->affectedRows();
                        $this->output( "$affected rows\n" );
-                       wfWaitForSlaves_masterPos();
+                       wfWaitForSlaves();
                } while ( $affected > 0 );
        }