From: Aaron Schulz Date: Sat, 20 Sep 2008 14:37:50 +0000 (+0000) Subject: Remove unnecessary transaction X-Git-Tag: 1.31.0-rc.0~45194 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=3345860554d691d4a708ee792cb43e8d42fb1792;p=lhc%2Fweb%2Fwiklou.git Remove unnecessary transaction --- diff --git a/includes/Article.php b/includes/Article.php index 9a8b5f33d0..9ffc2f2152 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1554,8 +1554,6 @@ class Article { $this->mGoodAdjustment = (int)$this->isCountable( $text ); $this->mTotalAdjustment = 1; - $dbw->begin(); - # Add the page record; stake our claim on this title! # This will fail with a database query exception if the article already exists $newid = $this->insertOn( $dbw ); @@ -1587,7 +1585,6 @@ class Article { } } $user->incEditCount(); - $dbw->commit(); # Update links, etc. $this->editUpdates( $text, $summary, $isminor, $now, $revisionId, true );