r101511 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101510‎ | r101511 | r101512 >
Date:18:49, 1 November 2011
Author:mah
Status:ok
Tags:
Comment:
follow up r101496 — ^demon's comments re style
Modified paths:
  • /trunk/phase3/includes/LocalisationCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LocalisationCache.php
@@ -855,8 +855,7 @@
856856 public function get( $code, $key ) {
857857 $k = wfMemcKey( 'l10n', $code, 'k', $key );
858858 $r = $this->cache->get( $k );
859 - if ( $r === false ) return null;
860 - return $r;
 859+ return $r === false ? null : $r;
861860 }
862861
863862 public function startWrite( $code ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101496followup 101492 — make it actually work.mah16:29, 1 November 2011

Status & tagging log