mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update MarkerService, fix php deprecation warning
This commit is contained in:
parent
89b8e87477
commit
5169936062
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class MarkerService
|
||||||
return Cache::get(self::CACHE_KEY . $timeline . ':' . $profileId);
|
return Cache::get(self::CACHE_KEY . $timeline . ':' . $profileId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function set($profileId, $timeline = 'home', $entityId)
|
public static function set($profileId, $timeline = 'home', $entityId = false)
|
||||||
{
|
{
|
||||||
$existing = self::get($profileId, $timeline);
|
$existing = self::get($profileId, $timeline);
|
||||||
$key = self::CACHE_KEY . $timeline . ':' . $profileId;
|
$key = self::CACHE_KEY . $timeline . ':' . $profileId;
|
||||||
|
|
Loading…
Reference in a new issue