https://www.mediawiki.org/wiki/Special:Code/MediaWiki/111966
Revision: 111966
Author: ialex
Date: 2012-02-20 21:36:54 +0000 (Mon, 20 Feb 2012)
Log Message:
-----------
Pass __METHOD__ to DatabaseBase::begin() and DatabaseBase::commit()
Modified Paths:
--------------
trunk/phase3/includes/EditPage.php
Modified: trunk/phase3/includes/EditPage.php
===================================================================
--- trunk/phase3/includes/EditPage.php 2012-02-20 21:36:07 UTC (rev 111965)
+++ trunk/phase3/includes/EditPage.php 2012-02-20 21:36:54 UTC (rev 111966)
@@ -1451,13 +1451,13 @@
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__ );
}
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs