1
0
Fork 0
forked from mirror/pixelfed

Update StatusHashtagService, remove deprecated methods

This commit is contained in:
Daniel Supernault 2021-01-30 16:09:17 -07:00
parent 0355b567dd
commit aa4c718d79
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -51,12 +51,12 @@ class StatusHashtagService {
public static function set($key, $val) public static function set($key, $val)
{ {
return Redis::zadd(self::CACHE_KEY . $key, $val, $val); return 1;
} }
public static function del($key) public static function del($key)
{ {
return Redis::zrem(self::CACHE_KEY . $key, $key); return 1;
} }
public static function count($id) public static function count($id)