diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-04-12 10:26:48 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-04-12 10:26:48 +0200 |
commit | d1b909c124910576a6b22cca11ebd08344e10e3c (patch) | |
tree | 50ca000a9bd89028595f0f1f0d9b6c52116a1a68 /lib/api/kolab_api_service_role.php | |
parent | acddf93a9ff407eae3c5216d134e5f0a42ff05f9 (diff) | |
download | webadmin-d1b909c124910576a6b22cca11ebd08344e10e3c.tar.gz |
Remove not implemented find* capabilities, some code cleanup
Diffstat (limited to 'lib/api/kolab_api_service_role.php')
-rw-r--r-- | lib/api/kolab_api_service_role.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/api/kolab_api_service_role.php b/lib/api/kolab_api_service_role.php index cf1e339..fc15d0b 100644 --- a/lib/api/kolab_api_service_role.php +++ b/lib/api/kolab_api_service_role.php @@ -39,13 +39,9 @@ class kolab_api_service_role extends kolab_api_service { //console("kolab_api_service_role::capabilities"); - $auth = Auth::get_instance(); - + $auth = Auth::get_instance(); $effective_rights = $auth->list_rights('role'); - - //console("effective_rights", $effective_rights); - - $rights = array(); + $rights = array(); if (in_array('add', $effective_rights['entryLevelRights'])) { $rights['add'] = "w"; |