We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b69792c commit 9d0299cCopy full SHA for 9d0299c
CHANGELOG.md
@@ -9,6 +9,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
9
### Deprecated
10
### Removed
11
### Fixed
12
+- Only kick users that haven't already been kicked.
13
### Security
14
15
## [0.7.0] - 2020-10-04
src/Helpers.php
@@ -118,6 +118,7 @@ public static function handleExpiredActivations(): void
118
FROM " . TB_USER . "
119
WHERE `joined_at` < (NOW() - INTERVAL {$expiry_time_in_s} SECOND)
120
AND `activated_at` IS NULL
121
+ AND `kicked_at` IS NULL
122
");
123
foreach ($users_to_kick as $user_to_kick) {
124
self::kickUser((int) $user_to_kick['id']);
0 commit comments