mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:50:17 +00:00
Move Cache::get() to DI::cache()->get()
This commit is contained in:
parent
f68929633b
commit
fe078410a1
16 changed files with 20 additions and 33 deletions
|
@ -332,7 +332,7 @@ class Probe
|
|||
public static function uri($uri, $network = '', $uid = -1, $cache = true)
|
||||
{
|
||||
if ($cache) {
|
||||
$result = Cache::get('Probe::uri:' . $network . ':' . $uri);
|
||||
$result = DI::cache()->get('Probe::uri:' . $network . ':' . $uri);
|
||||
if (!is_null($result)) {
|
||||
return $result;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue