From 611801a38dd2b06b2ef4ccc12f509f00e41c3f08 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Thu, 15 Dec 2016 15:17:56 +0100 Subject: [PATCH] IcuCollation: Add the current class name to 'first-letters' cache key Instances of subclasses of IcuCollation with customizations for specific languages probably shouldn't share this cache with instances of IcuCollation with the same language. Change-Id: I06d66d199c99448a3375381baef0366c4d99c8c4 --- includes/collation/IcuCollation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/collation/IcuCollation.php b/includes/collation/IcuCollation.php index 7b4fce6f27..bc5a20967a 100644 --- a/includes/collation/IcuCollation.php +++ b/includes/collation/IcuCollation.php @@ -330,6 +330,7 @@ class IcuCollation extends Collation { $cache = ObjectCache::getLocalServerInstance( CACHE_ANYTHING ); $cacheKey = $cache->makeKey( 'first-letters', + get_class( $this ), $this->locale, $this->digitTransformLanguage->getCode(), self::getICUVersion(), -- 2.20.1