From a8bd7ade18fca9fa617e0363af497420f6e86cb0 Mon Sep 17 00:00:00 2001 From: Dominik Hebeler <dominik@suma-ev.de> Date: Mon, 4 Mar 2019 11:01:06 +0100 Subject: [PATCH] used wrong command to delete hash --- app/Http/Controllers/HumanVerification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/HumanVerification.php b/app/Http/Controllers/HumanVerification.php index fce2cd092..67ea50d16 100644 --- a/app/Http/Controllers/HumanVerification.php +++ b/app/Http/Controllers/HumanVerification.php @@ -158,7 +158,7 @@ class HumanVerification extends Controller if ($user["whitelist"]) { $pipeline->hset(HumanVerification::PREFIX . "." . $uid, 'unusedResultPages', "0"); } else { - $pipeline->hdel(HumanVerification::PREFIX . "." . $uid); + $pipeline->del(HumanVerification::PREFIX . "." . $uid); $pipeline->srem(HumanVerification::PREFIX . "." . $id, $uid); } $pipeline->expire(HumanVerification::PREFIX . "." . $uid, $user["whitelist"] ? HumanVerification::EXPIRELONG : HumanVerification::EXPIRESHORT); -- GitLab