dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22c39ce
)
Remove unnecessary transaction
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 20 Sep 2008 14:37:50 +0000
(14:37 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 20 Sep 2008 14:37:50 +0000
(14:37 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
9a8b5f3
..
9ffc2f2
100644
(file)
--- 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 );