소스 검색

Update StatusHashtagService, remove deprecated methods

Daniel Supernault 4 년 전
부모
커밋
aa4c718d79
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/Services/StatusHashtagService.php

+ 2 - 2
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)