r100586 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100585‎ | r100586 | r100587 >
Date:09:06, 24 October 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Revert r100431 - redundant with r100420
Modified paths:
  • /trunk/extensions/Translate/MessageCollection.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageCollection.php
@@ -207,11 +207,9 @@
208208 * @param $dbtype One of DB_* constants.
209209 */
210210 public function loadTranslations( $dbtype = DB_SLAVE ) {
211 - global $wgTranslateMessageReview;
212 -
213211 $this->loadData( $this->keys, $dbtype );
214212 $this->loadInfo( $this->keys, $dbtype );
215 - if ( $this->reviewMode && $wgTranslateMessageReview ) {
 213+ if ( $this->reviewMode ) {
216214 $this->loadReviewInfo( $this->keys, $dbtype );
217215 }
218216 $this->initMessages();

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100420Followup r100345 - protect part of the code with configuration variablenikerabbit14:06, 21 October 2011
r100431Fix table does not exist issue.siebrand17:03, 21 October 2011

Status & tagging log