Index: trunk/phase3/includes/Title.php |
— | — | @@ -3476,7 +3476,7 @@ |
3477 | 3477 | RepoGroup::singleton()->clearCache( $nt ); # clear false negative cache |
3478 | 3478 | } |
3479 | 3479 | |
3480 | | - $dbw->begin(); # If $file was a LocalFile, its transaction would have closed our own. |
| 3480 | + $dbw->begin( __METHOD__ ); # If $file was a LocalFile, its transaction would have closed our own. |
3481 | 3481 | $pageid = $this->getArticleID( self::GAID_FOR_UPDATE ); |
3482 | 3482 | $protected = $this->isProtected(); |
3483 | 3483 | |
— | — | @@ -3548,7 +3548,7 @@ |
3549 | 3549 | WatchedItem::duplicateEntries( $this, $nt ); |
3550 | 3550 | } |
3551 | 3551 | |
3552 | | - $dbw->commit(); |
| 3552 | + $dbw->commit( __METHOD__ ); |
3553 | 3553 | |
3554 | 3554 | wfRunHooks( 'TitleMoveComplete', array( &$this, &$nt, &$wgUser, $pageid, $redirid ) ); |
3555 | 3555 | return true; |