mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
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
|
@ -827,7 +827,7 @@ class Transmitter
|
|||
|
||||
$data = ActivityPub\Transmitter::createActivityFromItem($item_id);
|
||||
|
||||
Cache::set($cachekey, $data, Cache::QUARTER_HOUR);
|
||||
DI::cache()->set($cachekey, $data, Cache::QUARTER_HOUR);
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue