mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update StatusHashtagService, remove deprecated methods
This commit is contained in:
parent
0355b567dd
commit
aa4c718d79
1 changed files with 2 additions and 2 deletions
|
@ -51,12 +51,12 @@ class StatusHashtagService {
|
|||
|
||||
public static function set($key, $val)
|
||||
{
|
||||
return Redis::zadd(self::CACHE_KEY . $key, $val, $val);
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static function del($key)
|
||||
{
|
||||
return Redis::zrem(self::CACHE_KEY . $key, $key);
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static function count($id)
|
||||
|
|
Loading…
Reference in a new issue