mirror of
https://github.com/friendica/friendica
synced 2025-05-09 19:44:10 +02: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
|
@ -3246,7 +3246,7 @@ class Diaspora
|
|||
|
||||
$cachekey = "diaspora:sendParticipation:".$item['guid'];
|
||||
|
||||
$result = Cache::get($cachekey);
|
||||
$result = DI::cache()->get($cachekey);
|
||||
if (!is_null($result)) {
|
||||
return;
|
||||
}
|
||||
|
@ -3524,7 +3524,7 @@ class Diaspora
|
|||
{
|
||||
$cachekey = "diaspora:buildStatus:".$item['guid'];
|
||||
|
||||
$result = Cache::get($cachekey);
|
||||
$result = DI::cache()->get($cachekey);
|
||||
if (!is_null($result)) {
|
||||
return $result;
|
||||
}
|
||||
|
@ -3749,7 +3749,7 @@ class Diaspora
|
|||
{
|
||||
$cachekey = "diaspora:constructComment:".$item['guid'];
|
||||
|
||||
$result = Cache::get($cachekey);
|
||||
$result = DI::cache()->get($cachekey);
|
||||
if (!is_null($result)) {
|
||||
return $result;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue