MessageCache: Minor wgMsgCacheExpiry doc fix, and clear constant access
[lhc/web/wiklou.git] / includes / cache / MessageCache.php
index 93fdb16..c2913e5 100644 (file)
@@ -1090,7 +1090,7 @@ class MessageCache {
                $fname = __METHOD__;
                return $this->srvCache->getWithSetCallback(
                        $this->srvCache->makeKey( 'messages-big', $hash, $dbKey ),
-                       IExpiringStore::TTL_MINUTE,
+                       BagOStuff::TTL_MINUTE,
                        function () use ( $code, $dbKey, $hash, $fname ) {
                                return $this->wanCache->getWithSetCallback(
                                        $this->bigMessageCacheKey( $hash, $dbKey ),