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
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
16 changed files with 25 additions and 39 deletions

View file

@ -125,7 +125,7 @@ class OEmbed
$cache_ttl = Cache::FIVE_MINUTES;
}
Cache::set($cache_key, $json_string, $cache_ttl);
DI::cache()->set($cache_key, $json_string, $cache_ttl);
}
if ($oembed->type == 'error') {