use wcf\data\object\type\ObjectTypeCache;
use wcf\data\user\avatar\UserAvatarAction;
use wcf\data\user\group\UserGroup;
+use wcf\data\user\UserEditor;
use wcf\data\AbstractDatabaseObjectAction;
use wcf\data\IClipboardAction;
use wcf\data\ISearchAction;
$userEditor->addToGroups($groupIDs, $deleteOldGroups, $addDefaultGroups);
}
+ //reread objects
+ $this->objects = array();
+ UserEditor::resetCache();
+ $this->readObjects();
+
if (MODULE_USER_RANK) {
$action = new UserProfileAction($this->objects, 'updateUserRank');
$action->executeAction();