mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
fix double call on icServer->getACL
This commit is contained in:
parent
58ea850bf3
commit
0771c4ff08
@ -415,16 +415,13 @@ class mail_acl
|
||||
*/
|
||||
function getACL ($mailbox)
|
||||
{
|
||||
if(($acl =$this->mail_bo->icServer->getACL($mailbox)))
|
||||
try
|
||||
{
|
||||
try
|
||||
{
|
||||
$acl = $this->mail_bo->icServer->getACL($mailbox);
|
||||
return $acl;
|
||||
} catch (Exception $e) {
|
||||
error_log(__METHOD__. "Could not get ACL rights from folder " . $mailbox . " because of " .$e->getMessage());
|
||||
return false;
|
||||
}
|
||||
$acl = $this->mail_bo->icServer->getACL($mailbox);
|
||||
return $acl;
|
||||
} catch (Exception $e) {
|
||||
error_log(__METHOD__. "Could not get ACL rights from folder " . $mailbox . " because of " .$e->getMessage());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user