Index: trunk/phase3/includes/Article.php |
— | — | @@ -1554,8 +1554,6 @@ |
1555 | 1555 | $this->mGoodAdjustment = (int)$this->isCountable( $text ); |
1556 | 1556 | $this->mTotalAdjustment = 1; |
1557 | 1557 | |
1558 | | - $dbw->begin(); |
1559 | | - |
1560 | 1558 | # Add the page record; stake our claim on this title! |
1561 | 1559 | # This will fail with a database query exception if the article already exists |
1562 | 1560 | $newid = $this->insertOn( $dbw ); |
— | — | @@ -1587,7 +1585,6 @@ |
1588 | 1586 | } |
1589 | 1587 | } |
1590 | 1588 | $user->incEditCount(); |
1591 | | - $dbw->commit(); |
1592 | 1589 | |
1593 | 1590 | # Update links, etc. |
1594 | 1591 | $this->editUpdates( $text, $summary, $isminor, $now, $revisionId, true ); |