chg: [user:checkNotificationBanStatus] Typo in comment

pull/7734/head
mokaddem 2021-09-07 09:01:41 +02:00
parent 2229809e9b
commit f2a1e47a3e
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -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();