aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-04-12 12:37:26 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-04-16 15:18:33 +0200
commit5bd02a63a86ba053c14ce544fa37ac0b56909a69 (patch)
treeb263d9aed2004e9432a041e29a9b6e8bcec59005 /apps
parent6028d600385ab4420f6b6e3abf6432c193b1faa9 (diff)
downloadnextcloud-server-5bd02a63a86ba053c14ce544fa37ac0b56909a69.tar.gz
nextcloud-server-5bd02a63a86ba053c14ce544fa37ac0b56909a69.zip
Fixed tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/provisioning_api/lib/Controller/UsersController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php
index 7bbbe554838..30812a3ca05 100644
--- a/apps/provisioning_api/lib/Controller/UsersController.php
+++ b/apps/provisioning_api/lib/Controller/UsersController.php
@@ -198,6 +198,7 @@ class UsersController extends AUserData {
* @param array $groups
* @param array $subadmins
* @param string $quota
+ * @param string $language
* @return DataResponse
* @throws OCSException
*/
@@ -207,7 +208,7 @@ class UsersController extends AUserData {
array $groups = [],
array $subadmin = [],
string $quota = '',
- string $language = 'en'): DataResponse {
+ string $language = ''): DataResponse {
$user = $this->userSession->getUser();
$isAdmin = $this->groupManager->isAdmin($user->getUID());
$subAdminManager = $this->groupManager->getSubAdmin();