diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-08-11 12:47:42 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-08-11 12:47:42 +0200 |
commit | ed1f034e6b638419ae7a35f9c985bc12cc0f35e5 (patch) | |
tree | 490476a9b5f3d9f52a5878b0bf3a0fc34cd5291f /apps/provisioning_api/lib | |
parent | 96949649f03a52c222b01d52446e97f4bbb8a5be (diff) | |
download | nextcloud-server-ed1f034e6b638419ae7a35f9c985bc12cc0f35e5.tar.gz nextcloud-server-ed1f034e6b638419ae7a35f9c985bc12cc0f35e5.zip |
Fix groups
Diffstat (limited to 'apps/provisioning_api/lib')
-rw-r--r-- | apps/provisioning_api/lib/groups.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/provisioning_api/lib/groups.php b/apps/provisioning_api/lib/groups.php index 0b881fdf6c6..11f3995e1da 100644 --- a/apps/provisioning_api/lib/groups.php +++ b/apps/provisioning_api/lib/groups.php @@ -102,9 +102,9 @@ class Groups{ public function deleteGroup($parameters){ // Check it exists - if(!$this->groupManager->grouExists($parameters['groupid'])){ + if(!$this->groupManager->groupExists($parameters['groupid'])){ return new OC_OCS_Result(null, 101); - } else if($parameters['groupid'] === 'admin' || !$this->groupManger->get($parameters['groupid'])->delete()){ + } else if($parameters['groupid'] === 'admin' || !$this->groupManager->get($parameters['groupid'])->delete()){ // Cannot delete admin group return new OC_OCS_Result(null, 102); } else { |