use app cache

This commit is contained in:
Jean-Christian Denis 2023-11-04 10:32:56 +01:00
parent 53e4a8ee58
commit ac4a877b75
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -75,7 +75,7 @@ class Frontend extends Process
public static function adjustCache(): void
{
if (!empty($_COOKIE[self::COOKIE_UPDDT_PREFIX . self::cookieSuffix()])) {
App::frontend()->cache()->addTime((int) $_COOKIE[self::COOKIE_UPDDT_PREFIX . self::cookieSuffix()]);
App::cache()->addTime((int) $_COOKIE[self::COOKIE_UPDDT_PREFIX . self::cookieSuffix()]);
}
}