|
@@ 463-467 (lines=5) @@
|
| 460 |
|
if (!$appname) $appname = $GLOBALS['egw_info']['flags']['currentapp']; |
| 461 |
|
|
| 462 |
|
$accounts = array($account_id); |
| 463 |
|
if ($use_memberships && (int)$account_id > 0) |
| 464 |
|
{ |
| 465 |
|
$accounts = $GLOBALS['egw']->accounts->memberships($account_id, true); |
| 466 |
|
$accounts[] = $account_id; |
| 467 |
|
} |
| 468 |
|
$rights = array(); |
| 469 |
|
foreach($this->db->select(self::TABLE,'acl_location,acl_rights',array( |
| 470 |
|
'acl_account' => $accounts, |
|
@@ 624-624 (lines=1) @@
|
| 621 |
|
$account_id = get_account_id($accountid,$this->account_id); |
| 622 |
|
$cache_accountid[$accountid] = $account_id; |
| 623 |
|
} |
| 624 |
|
if ($use_memberships && (int)$account_id > 0) $memberships = $GLOBALS['egw']->accounts->memberships($account_id, true); |
| 625 |
|
$memberships[] = (int)$account_id; |
| 626 |
|
|
| 627 |
|
$apps = array(); |