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:
a01e85d
)
Removed redundant begin/commit calls
author
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 17 Sep 2014 00:18:21 +0000
(17:18 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 17 Sep 2014 00:18:21 +0000
(17:18 -0700)
Change-Id: I33b496c5c57451eec24080a5b769020979fb51f0
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
3370622
..
a9925ff
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-1944,9
+1944,7
@@
class EditPage {
// Do this in its own transaction to reduce contention...
$dbw = wfGetDB( DB_MASTER );
$dbw->onTransactionIdle( function () use ( $dbw, $title, $watch, $wgUser, $fname ) {
- $dbw->begin( $fname );
WatchAction::doWatchOrUnwatch( $watch, $title, $wgUser );
- $dbw->commit( $fname );
} );
}
}