X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCollation.php;h=7fa5c6e4772dfdb8930b20dd20006a635bf06d2c;hb=73d13883bfe0114c2451fb2ec31e203ec93efdd9;hp=40e862718736be7ebdf2feb05d68f7d3954e7053;hpb=0b635582a32873159eeecbbc59033a86345a43b1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Collation.php b/includes/Collation.php index 40e8627187..7fa5c6e477 100644 --- a/includes/Collation.php +++ b/includes/Collation.php @@ -508,7 +508,7 @@ class IcuCollation extends Collation { // Save to cache $this->firstLetterData = $data; - $cache->set( $cacheKey, $data, 86400 * 7 /* 1 week */ ); + $cache->set( $cacheKey, $data, $cache::TTL_WEEK ); return $data; }