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

This commit is contained in:
nupplaPhil 2020-01-07 00:45:49 +01:00
parent f68929633b
commit fe078410a1
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
16 changed files with 20 additions and 33 deletions

View file

@ -1070,7 +1070,7 @@ class BBCode
private static function removePictureLinksCallback($match)
{
$cache_key = 'remove:' . $match[1];
$text = Cache::get($cache_key);
$text = DI::cache()->get($cache_key);
if (is_null($text)) {
$a = DI::app();
@ -1143,7 +1143,7 @@ class BBCode
}
$cache_key = 'clean:' . $match[1];
$text = Cache::get($cache_key);
$text = DI::cache()->get($cache_key);
if (!is_null($text)) {
return $text;
}