* Executes user-related actions.
*
* @author Alexander Ebert
- * @copyright 2001-2011 WoltLab GmbH
+ * @copyright 2001-2012 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user
}
$groupIDs = (isset($this->parameters['groups'])) ? $this->parameters['groups'] : array();
+ $languageIDs = (isset($this->parameters['languageIDs'])) ? $this->parameters['languageIDs'] : array();
$removeGroups = (isset($this->parameters['removeGroups'])) ? $this->parameters['removeGroups'] : array();
$userOptions = (isset($this->parameters['options'])) ? $this->parameters['options'] : array();
if (!empty($userOptions)) {
$userEditor->updateUserOptions($userOptions);
}
+
+ if (!empty($languageIDs)) {
+ $userEditor->addToLanguages($languageIDs);
+ }
}
}