Move Cache::set() to DI::cache()->set()
This commit is contained in:
parent
3369dfaad9
commit
f68929633b
16 changed files with 25 additions and 39 deletions
|
|
@ -208,7 +208,7 @@ function ping_init(App $a)
|
|||
DBA::escape(DateTimeFormat::utcNow())
|
||||
);
|
||||
if (DBA::isResult($ev)) {
|
||||
Cache::set($cachekey, $ev, Cache::HOUR);
|
||||
DI::cache()->set($cachekey, $ev, Cache::HOUR);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue