Explorar el Código

Update StatusHashtagService, fix delete bug

Daniel Supernault hace 6 años
padre
commit
46d4d256c5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)