*/
private function doReassignEdits( &$from, &$to, $rc = false, $report = false ) {
$dbw = wfGetDB( DB_MASTER );
- $dbw->immediateBegin();
+ $dbw->begin();
# Count things
$this->output( "Checking current edits..." );
}
}
- $dbw->immediateCommit();
+ $dbw->commit();
return (int)$total;
}