From aa4c718d79f293cf1a67b24035e87d38eb1f4db9 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 30 Jan 2021 16:09:17 -0700 Subject: [PATCH] Update StatusHashtagService, remove deprecated methods --- app/Services/StatusHashtagService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/StatusHashtagService.php b/app/Services/StatusHashtagService.php index 8f09f52d..be693a37 100644 --- a/app/Services/StatusHashtagService.php +++ b/app/Services/StatusHashtagService.php @@ -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)