X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FDatabaseUpdater.php;h=86b2f3bde4a740650cf2ec9a8825956185d313a3;hb=a1b68ff934c574d7be9101f2202cc23fabbb678d;hp=0d8137ce21f586c3b61a93ca8003d0596c3f546f;hpb=0a56c6c31780f5c56e5ced67f5b16ea788b55a50;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index 0d8137ce21..86b2f3bde4 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -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__ ); } /**