From f2a1e47a3ec2cff2544be9129d9997fa819d6c72 Mon Sep 17 00:00:00 2001 From: mokaddem Date: Tue, 7 Sep 2021 09:01:41 +0200 Subject: [PATCH] chg: [user:checkNotificationBanStatus] Typo in comment --- app/Model/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Model/User.php b/app/Model/User.php index fb71f35fd..5d91407e3 100644 --- a/app/Model/User.php +++ b/app/Model/User.php @@ -1478,7 +1478,7 @@ class User extends AppModel } $pipe = $redis->multi(Redis::PIPELINE) ->incr($redisKeyAmountThreshold); - if (!$banStatus['active']) { // no need to refresh the tll if the ban is active + if (!$banStatus['active']) { // no need to refresh the ttl if the ban is active $pipe->expire($redisKeyAmountThreshold, $banThresholdSeconds); } $pipe->exec();