From: Mark A. Hershberger Date: Tue, 1 Nov 2011 18:49:38 +0000 (+0000) Subject: follow up r101496 — ^demon's comments re style X-Git-Tag: 1.31.0-rc.0~26771 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=3f65609b137e8b664999cd98807d61521babf445;p=lhc%2Fweb%2Fwiklou.git follow up r101496 — ^demon's comments re style --- diff --git a/includes/LocalisationCache.php b/includes/LocalisationCache.php index 591f9732f9..e4e1bed9f4 100644 --- a/includes/LocalisationCache.php +++ b/includes/LocalisationCache.php @@ -855,8 +855,7 @@ class LCStore_Accel implements LCStore { public function get( $code, $key ) { $k = wfMemcKey( 'l10n', $code, 'k', $key ); $r = $this->cache->get( $k ); - if ( $r === false ) return null; - return $r; + return $r === false ? null : $r; } public function startWrite( $code ) {