diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/EditPage.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/EditPage.php b/includes/EditPage.php index 066864b604a9..8c0e8f25b9dd 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1451,13 +1451,13 @@ class EditPage { global $wgUser; if ( $this->watchthis xor $this->mTitle->userIsWatching() ) { $dbw = wfGetDB( DB_MASTER ); - $dbw->begin(); + $dbw->begin( __METHOD__ ); if ( $this->watchthis ) { WatchAction::doWatch( $this->mTitle, $wgUser ); } else { WatchAction::doUnwatch( $this->mTitle, $wgUser ); } - $dbw->commit(); + $dbw->commit( __METHOD__ ); } } |