Move Cache::set() to DI::cache()->set()

This commit is contained in:
nupplaPhil
2020-01-07 00:41:20 +01:00
parent 3369dfaad9
commit f68929633b
16 changed files with 25 additions and 39 deletions

View File

@@ -2246,7 +2246,7 @@ class OStatus
$feeddata = trim($doc->saveXML());
$msg = ['feed' => $feeddata, 'last_update' => $last_update];
Cache::set($cachekey, $msg, Cache::QUARTER_HOUR);
DI::cache()->set($cachekey, $msg, Cache::QUARTER_HOUR);
Logger::log('Feed duration: ' . number_format(microtime(true) - $stamp, 3) . ' - ' . $owner_nick . ' - ' . $filter . ' - ' . $previous_created, Logger::DEBUG);