Commit a8bd7ade authored by Dominik Hebeler's avatar Dominik Hebeler

used wrong command to delete hash

parent 3a86ea9d
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment