From 44bc2e7cc2a0dee84d8197146c8b9ee8324fd0ea Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 21 Feb 2012 19:56:43 +0000 Subject: [PATCH] Pass __METHOD__ to DatabaseBase::begin() and DatabaseBase::commit() --- includes/Title.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Title.php b/includes/Title.php index 6485228452..8d87373f01 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -3476,7 +3476,7 @@ class Title { RepoGroup::singleton()->clearCache( $nt ); # clear false negative cache } - $dbw->begin(); # If $file was a LocalFile, its transaction would have closed our own. + $dbw->begin( __METHOD__ ); # If $file was a LocalFile, its transaction would have closed our own. $pageid = $this->getArticleID( self::GAID_FOR_UPDATE ); $protected = $this->isProtected(); @@ -3548,7 +3548,7 @@ class Title { WatchedItem::duplicateEntries( $this, $nt ); } - $dbw->commit(); + $dbw->commit( __METHOD__ ); wfRunHooks( 'TitleMoveComplete', array( &$this, &$nt, &$wgUser, $pageid, $redirid ) ); return true; -- 2.20.1