diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-04-12 11:00:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-12 11:00:54 +0200 |
commit | 10b37a074c6a48594ccb3e531900657795e1f8df (patch) | |
tree | 6320fd9e1fbd16fb3316b6863a088841598786c9 | |
parent | d3f2b6aef48938b3cf209bddcb341a6735ad5609 (diff) | |
download | nextcloud-server-10b37a074c6a48594ccb3e531900657795e1f8df.tar.gz nextcloud-server-10b37a074c6a48594ccb3e531900657795e1f8df.zip |
Revert "Add language support for user creation in api"
-rw-r--r-- | apps/provisioning_api/lib/Controller/UsersController.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index 7bbbe554838..420c09dfecb 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -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); |