Index: trunk/extensions/CentralNotice/SpecialNoticeTemplate.php |
— | — | @@ -682,7 +682,6 @@ |
683 | 683 | |
684 | 684 | if ( $dbr->numRows( $res ) == 1 ) { |
685 | 685 | $dbw = wfGetDB( DB_MASTER ); |
686 | | - $dbw->begin(); |
687 | 686 | $res = $dbw->update( 'cn_templates', |
688 | 687 | array( |
689 | 688 | 'tmp_display_anon' => $displayAnon, |
— | — | @@ -690,7 +689,6 @@ |
691 | 690 | ), |
692 | 691 | array( 'tmp_name' => $name ) |
693 | 692 | ); |
694 | | - $dbw->commit(); |
695 | 693 | |
696 | 694 | // Perhaps these should move into the db as blob |
697 | 695 | $article = new Article( |