Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1451,13 +1451,13 @@ |
1452 | 1452 | global $wgUser; |
1453 | 1453 | if ( $this->watchthis xor $this->mTitle->userIsWatching() ) { |
1454 | 1454 | $dbw = wfGetDB( DB_MASTER ); |
1455 | | - $dbw->begin(); |
| 1455 | + $dbw->begin( __METHOD__ ); |
1456 | 1456 | if ( $this->watchthis ) { |
1457 | 1457 | WatchAction::doWatch( $this->mTitle, $wgUser ); |
1458 | 1458 | } else { |
1459 | 1459 | WatchAction::doUnwatch( $this->mTitle, $wgUser ); |
1460 | 1460 | } |
1461 | | - $dbw->commit(); |
| 1461 | + $dbw->commit( __METHOD__ ); |
1462 | 1462 | } |
1463 | 1463 | } |
1464 | 1464 | |