From 3345860554d691d4a708ee792cb43e8d42fb1792 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 20 Sep 2008 14:37:50 +0000 Subject: [PATCH] Remove unnecessary transaction --- includes/Article.php | 3 --- 1 file changed, 3 deletions(-) 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 ); -- 2.20.1