1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-21 21:30:08 +00:00

Fix UserAction::clearDeadSessions()

This got broken in 527a04db58.
This commit is contained in:
Tim Düsterhus 2022-03-10 17:15:50 +01:00
parent 9c3f0db196
commit 9dcc59f610
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ Additional Use Grant: You may use the Licensed Work when your application
uses the Licensed Work for a purpose that does neither
directly or indirectly generate revenue.
Change Date: 2026-03-04
Change Date: 2026-03-10
Change License: Version 2 or later of the GNU General Public License as
published by the Free Software Foundation.

View File

@ -6,7 +6,7 @@
* Use of this software is governed by the Business Source License
* included in the LICENSE file.
*
* Change Date: 2026-03-04
* Change Date: 2026-03-10
*
* On the date above, in accordance with the Business Source
* License, use of this software will be governed by version 2
@ -88,7 +88,7 @@ public function getUsersByID()
public function clearDeadSessions()
{
$sessions = User::getDeadSessions();
if ($sessions !== []) {
if ($sessions === []) {
return;
}
$userIDs = \array_map(static function ($item) {