objectcache: switch WANObjectCache process cache to MapCacheLRU
[lhc/web/wiklou.git] / includes / libs / objectcache / RedisBagOStuff.php
index 9b0d595..a8047b0 100644 (file)
@@ -407,9 +407,7 @@ class RedisBagOStuff extends BagOStuff {
         */
        protected function getMasterLinkStatus( RedisConnRef $conn ) {
                $info = $conn->info();
-               return isset( $info['master_link_status'] )
-                       ? $info['master_link_status']
-                       : null;
+               return $info['master_link_status'] ?? null;
        }
 
        /**