r100431 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100430‎ | r100431 | r100432 >
Date:17:03, 21 October 2011
Author:siebrand
Status:reverted (Comments)
Tags:
Comment:
Fix table does not exist issue.
Modified paths:
  • /trunk/extensions/Translate/MessageCollection.php (modified) (history)

Diff [purge]

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

Follow-up revisions

RevisionCommit summaryAuthorDate
r100586Revert r100431 - redundant with r100420nikerabbit09:06, 24 October 2011

Comments

#Comment by Nikerabbit (talk | contribs)   19:34, 21 October 2011

r100420 fixed this already.

Status & tagging log