From: Alexandre Emsenhuber Date: Tue, 21 Feb 2012 19:56:43 +0000 (+0000) Subject: Pass __METHOD__ to DatabaseBase::begin() and DatabaseBase::commit() X-Git-Tag: 1.31.0-rc.0~24593 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=44bc2e7cc2a0dee84d8197146c8b9ee8324fd0ea;p=lhc%2Fweb%2Fwiklou.git Pass __METHOD__ to DatabaseBase::begin() and DatabaseBase::commit() --- 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;