Merge "Unbreak the DB updater by removing transaction from doUpdates()"
This commit is contained in:
commit
eaeeea4b29
1 changed files with 0 additions and 3 deletions
|
|
@ -410,7 +410,6 @@ abstract class DatabaseUpdater {
|
|||
public function doUpdates( $what = [ 'core', 'extensions', 'stats' ] ) {
|
||||
global $wgVersion;
|
||||
|
||||
$this->db->begin( __METHOD__ );
|
||||
$what = array_flip( $what );
|
||||
$this->skipSchema = isset( $what['noschema'] ) || $this->fileHandle !== null;
|
||||
if ( isset( $what['core'] ) ) {
|
||||
|
|
@ -432,8 +431,6 @@ abstract class DatabaseUpdater {
|
|||
$this->writeSchemaUpdateFile();
|
||||
$this->setAppliedUpdates( "$wgVersion-schema", $this->updatesSkipped );
|
||||
}
|
||||
|
||||
$this->db->commit( __METHOD__ );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue