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
|
@ -84,7 +84,7 @@ class Term
|
|||
|
||||
if (DBA::isResult($tagsStmt)) {
|
||||
$tags = DBA::toArray($tagsStmt);
|
||||
Cache::set('global_trending_tags', $tags, Cache::HOUR);
|
||||
DI::cache()->set('global_trending_tags', $tags, Cache::HOUR);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -129,7 +129,7 @@ class Term
|
|||
|
||||
if (DBA::isResult($tagsStmt)) {
|
||||
$tags = DBA::toArray($tagsStmt);
|
||||
Cache::set('local_trending_tags', $tags, Cache::HOUR);
|
||||
DI::cache()->set('local_trending_tags', $tags, Cache::HOUR);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue