Skip to content

Commit 60123ec

Browse files
committed
Rename UpdateUserGroups to UpdateMandatoryUserGroups
1 parent c12a7db commit 60123ec

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

wcfsetup/install/files/lib/command/user/UpdateUserGroups.class.php renamed to wcfsetup/install/files/lib/command/user/UpdateMandatoryUserGroups.class.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88
use wcf\system\user\storage\UserStorageHandler;
99

1010
/**
11-
* Updates the groups of users. Removes unnecessary groups and adds missing groups.
11+
* Updates the mandatory user groups of a user.
12+
* Adds missing groups and removes groups in which the user is not allowed to be.
1213
*
1314
* @author Olaf Braun
1415
* @copyright 2001-2025 WoltLab GmbH
1516
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
1617
* @since 6.3
1718
*/
18-
final class UpdateUserGroups
19+
final class UpdateMandatoryUserGroups
1920
{
2021
public function __construct(
2122
private readonly User $user

wcfsetup/install/files/lib/command/user/UpdateUserOnlineMarking.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(
2424

2525
public function __invoke(): void
2626
{
27-
$groupIDs = (new UpdateUserGroups($this->user))();
27+
$groupIDs = (new UpdateMandatoryUserGroups($this->user))();
2828

2929
$newOnlineGroupID = $this->newOnlineGroupID($groupIDs);
3030

0 commit comments

Comments
 (0)