mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 09:34:26 +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
|
@ -569,7 +569,7 @@ class Photo
|
|||
DBA::escape(L10n::t("Contact Photos"))
|
||||
);
|
||||
}
|
||||
Cache::set($key, $albums, Cache::DAY);
|
||||
DI::cache()->set($key, $albums, Cache::DAY);
|
||||
}
|
||||
return $albums;
|
||||
}
|
||||
|
@ -582,7 +582,7 @@ class Photo
|
|||
public static function clearAlbumCache($uid)
|
||||
{
|
||||
$key = "photo_albums:".$uid.":".local_user().":".remote_user();
|
||||
Cache::set($key, null, Cache::DAY);
|
||||
DI::cache()->set($key, null, Cache::DAY);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue