Index: trunk/phase3/includes/LocalisationCache.php |
— | — | @@ -909,12 +909,12 @@ |
910 | 910 | |
911 | 911 | $this->dbw = wfGetDB( DB_MASTER ); |
912 | 912 | try { |
913 | | - $this->dbw->begin(); |
| 913 | + $this->dbw->begin( __METHOD__ ); |
914 | 914 | $this->dbw->delete( 'l10n_cache', array( 'lc_lang' => $code ), __METHOD__ ); |
915 | 915 | } catch ( DBQueryError $e ) { |
916 | 916 | if ( $this->dbw->wasReadOnlyError() ) { |
917 | 917 | $this->readOnly = true; |
918 | | - $this->dbw->rollback(); |
| 918 | + $this->dbw->rollback( __METHOD__ ); |
919 | 919 | $this->dbw->ignoreErrors( false ); |
920 | 920 | return; |
921 | 921 | } else { |
— | — | @@ -935,7 +935,7 @@ |
936 | 936 | $this->dbw->insert( 'l10n_cache', $this->batch, __METHOD__ ); |
937 | 937 | } |
938 | 938 | |
939 | | - $this->dbw->commit(); |
| 939 | + $this->dbw->commit( __METHOD__ ); |
940 | 940 | $this->currentLang = null; |
941 | 941 | $this->dbw = null; |
942 | 942 | $this->batch = array(); |