mirror of
https://github.com/friendica/friendica
synced 2025-04-28 13:44:25 +02: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
|
@ -409,7 +409,7 @@ class Probe
|
|||
|
||||
// Only store into the cache if the value seems to be valid
|
||||
if (!in_array($data['network'], [Protocol::PHANTOM, Protocol::MAIL])) {
|
||||
Cache::set('Probe::uri:' . $network . ':' . $uri, $data, Cache::DAY);
|
||||
DI::cache()->set('Probe::uri:' . $network . ':' . $uri, $data, Cache::DAY);
|
||||
}
|
||||
|
||||
return $data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue