File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
ts/WoltLabSuite/Core/Component/User
wcfsetup/install/files/lib/system/user/command Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 55 * @copyright 2001-2024 WoltLab GmbH
66 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
77 * @since 6.2
8+ * @woltlabExcludeBundle all
89 */
910
1011import { promiseMutex } from "WoltLabSuite/Core/Helper/PromiseMutex" ;
Original file line number Diff line number Diff line change @@ -42,8 +42,7 @@ public function __invoke()
4242 UserStorageHandler::getInstance ()->reset ([$ this ->user ->userID ], 'avatar ' );
4343 UserProfileRuntimeCache::getInstance ()->removeObject ($ this ->user ->userID );
4444
45- // check if the user will be automatically added to new user groups
46- // because of the changed avatar
45+ // Setting an avatar could satisfy the condition to assign a user to user groups.
4746 UserGroupAssignmentHandler::getInstance ()->checkUsers ([$ this ->user ->userID ]);
4847
4948 if ($ this ->user ->userID === WCF ::getUser ()->userID ) {
You can’t perform that action at this time.
0 commit comments