diff options
author | Tom Needham <tom@owncloud.com> | 2015-01-03 13:25:48 +0000 |
---|---|---|
committer | Tom Needham <tom@owncloud.com> | 2015-01-03 13:25:48 +0000 |
commit | 97d31946c3d4cfdac46f91385b3d888fde30d934 (patch) | |
tree | c6553b59f7619c718b4ad3b7a9e9ddf2436e8ef2 /apps/provisioning_api/lib/users.php | |
parent | 32d95633594547faaf841d90d970bf333a0c9282 (diff) | |
download | nextcloud-server-97d31946c3d4cfdac46f91385b3d888fde30d934.tar.gz nextcloud-server-97d31946c3d4cfdac46f91385b3d888fde30d934.zip |
Ensure admin group is present before running tests
Diffstat (limited to 'apps/provisioning_api/lib/users.php')
-rw-r--r-- | apps/provisioning_api/lib/users.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/users.php b/apps/provisioning_api/lib/users.php index 891264a908a..4262dff7a6c 100644 --- a/apps/provisioning_api/lib/users.php +++ b/apps/provisioning_api/lib/users.php @@ -70,7 +70,7 @@ class Users { // Admin? Or SubAdmin? if(OC_User::isAdminUser(OC_User::getUser()) || OC_SubAdmin::isUserAccessible(OC_User::getUser(), $userId)) { // Check they exist - if(!OC_user::userExists($userId)) { + if(!OC_User::userExists($userId)) { return new OC_OCS_Result(null, \OC_API::RESPOND_NOT_FOUND, 'The requested user could not be found'); } // Show all |