forked from extern/egroupware
fake "Domain Users" group to now show "#-513" in case it's excluded by a filter
This commit is contained in:
parent
190c785388
commit
4099066a59
@ -1488,6 +1488,20 @@ class Accounts
|
|||||||
}
|
}
|
||||||
$instance->cache_data($account_id, $account);
|
$instance->cache_data($account_id, $account);
|
||||||
}
|
}
|
||||||
|
// 'account_lid' => 'Domain Users',
|
||||||
|
elseif ($account_id == -513)
|
||||||
|
{
|
||||||
|
$instance->cache_data($account_id, $account = [
|
||||||
|
'account_id' => -513,
|
||||||
|
'account_lid' => 'Domain Users',
|
||||||
|
'account_type' => 'g',
|
||||||
|
'account_firstname' => 'Domain Users',
|
||||||
|
'account_lastname' => lang('Group'),
|
||||||
|
'account_fullname' => lang('Group').' Domain Users',
|
||||||
|
'members-active' => [],
|
||||||
|
'members' => [],
|
||||||
|
]);
|
||||||
|
}
|
||||||
//error_log(__METHOD__."($account_id) read from backend ".array2string($account));
|
//error_log(__METHOD__."($account_id) read from backend ".array2string($account));
|
||||||
}
|
}
|
||||||
//else error_log(__METHOD__."($account_id) read from instance cache ".array2string($account));
|
//else error_log(__METHOD__."($account_id) read from instance cache ".array2string($account));
|
||||||
|
Loading…
Reference in New Issue
Block a user