Revert "Add language support for user creation in api"
This commit is contained in:
parent
d3f2b6aef4
commit
10b37a074c
1 changed files with 1 additions and 6 deletions
|
@ -206,8 +206,7 @@ class UsersController extends AUserData {
|
|||
string $email = '',
|
||||
array $groups = [],
|
||||
array $subadmin = [],
|
||||
string $quota = '',
|
||||
string $language = 'en'): DataResponse {
|
||||
string $quota = ''): DataResponse {
|
||||
$user = $this->userSession->getUser();
|
||||
$isAdmin = $this->groupManager->isAdmin($user->getUID());
|
||||
$subAdminManager = $this->groupManager->getSubAdmin();
|
||||
|
@ -280,10 +279,6 @@ class UsersController extends AUserData {
|
|||
$this->editUser($userid, 'quota', $quota);
|
||||
}
|
||||
|
||||
if ($language !== '') {
|
||||
$this->editUser($userid, 'language', $language);
|
||||
}
|
||||
|
||||
// Send new user mail only if a mail is set
|
||||
if ($email !== '') {
|
||||
$newUser->setEMailAddress($email);
|
||||
|
|
Loading…
Reference in a new issue