forked from extern/egroupware
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)
|
function getACL ($mailbox)
|
||||||
{
|
{
|
||||||
if(($acl =$this->mail_bo->icServer->getACL($mailbox)))
|
try
|
||||||
{
|
{
|
||||||
try
|
$acl = $this->mail_bo->icServer->getACL($mailbox);
|
||||||
{
|
return $acl;
|
||||||
$acl = $this->mail_bo->icServer->getACL($mailbox);
|
} catch (Exception $e) {
|
||||||
return $acl;
|
error_log(__METHOD__. "Could not get ACL rights from folder " . $mailbox . " because of " .$e->getMessage());
|
||||||
} catch (Exception $e) {
|
return false;
|
||||||
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