mirror of
https://github.com/friendica/friendica
synced 2025-05-12 05:04:10 +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
|
@ -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') {
|
||||
|
|
|
@ -1112,7 +1112,7 @@ class BBCode
|
|||
}
|
||||
}
|
||||
}
|
||||
Cache::set($cache_key, $text);
|
||||
DI::cache()->set($cache_key, $text);
|
||||
}
|
||||
|
||||
return $text;
|
||||
|
@ -1194,7 +1194,7 @@ class BBCode
|
|||
}
|
||||
}
|
||||
}
|
||||
Cache::set($cache_key, $text);
|
||||
DI::cache()->set($cache_key, $text);
|
||||
|
||||
return $text;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue