r73981 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73980‎ | r73981 | r73982 >
Date:20:24, 29 September 2010
Author:platonides
Status:ok
Tags:
Comment:
Follow up r73951
Modified paths:
  • /trunk/phase3/includes/MessageCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/MessageCache.php
@@ -546,7 +546,9 @@
547547 }
548548
549549 $lang = wfGetLangObj( $langcode );
550 - if (!$lang) throw new MWException( "Bad lang code $langcode given" );
 550+ if ( !$lang ) {
 551+ throw new MWException( "Bad lang code $langcode given" );
 552+ }
551553
552554 $langcode = $lang->getCode();
553555

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r73951Tiny changes, fix comment, remove unused globals and throw and exception inst...platonides15:54, 29 September 2010

Status & tagging log