From 3f65609b137e8b664999cd98807d61521babf445 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Tue, 1 Nov 2011 18:49:38 +0000 Subject: [PATCH] =?utf8?q?follow=20up=20r101496=20=E2=80=94=20^demon's=20c?= =?utf8?q?omments=20re=20style?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- includes/LocalisationCache.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 ) { -- 2.20.1