Преглед изворни кода

Update StatusHashtagService, fix delete bug

Daniel Supernault пре 6 година
родитељ
комит
46d4d256c5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Services/StatusHashtagService.php

+ 1 - 1
app/Services/StatusHashtagService.php

@@ -49,7 +49,7 @@ class StatusHashtagService {
 
 	public static function del($key)
 	{
-		return Redis::zrem(self::CACHE_KEY . $key, $val);
+		return Redis::zrem(self::CACHE_KEY . $key, $key);
 	}
 
 	public static function count($id)