r111966 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111965‎ | r111966 | r111967 >
Date:21:36, 20 February 2012
Author:ialex
Status:ok
Tags:
Comment:
Pass __METHOD__ to DatabaseBase::begin() and DatabaseBase::commit()
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -1451,13 +1451,13 @@
14521452 global $wgUser;
14531453 if ( $this->watchthis xor $this->mTitle->userIsWatching() ) {
14541454 $dbw = wfGetDB( DB_MASTER );
1455 - $dbw->begin();
 1455+ $dbw->begin( __METHOD__ );
14561456 if ( $this->watchthis ) {
14571457 WatchAction::doWatch( $this->mTitle, $wgUser );
14581458 } else {
14591459 WatchAction::doUnwatch( $this->mTitle, $wgUser );
14601460 }
1461 - $dbw->commit();
 1461+ $dbw->commit( __METHOD__ );
14621462 }
14631463 }
14641464

Sign-offs

UserFlagDate
Nikerabbitinspected08:41, 21 February 2012

Follow-up revisions

RevisionCommit summaryAuthorDate
r112024MFT r111658, r111965, r111966, r111967, r112021reedy17:07, 21 February 2012

Status & tagging log