mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 22:39:00 +01:00
"silently remove user himself (NOT decrementing total or number of shown entries): looks much better ;-)"
This commit is contained in:
parent
31d82ac72b
commit
c17f3f08cd
@ -33,7 +33,6 @@
|
|||||||
$owner = get_var('owner',array('POST','GET'),$GLOBALS['egw_info']['user']['account_id']);
|
$owner = get_var('owner',array('POST','GET'),$GLOBALS['egw_info']['user']['account_id']);
|
||||||
$search_type= get_var('search_type',array('POST','GET'));
|
$search_type= get_var('search_type',array('POST','GET'));
|
||||||
|
|
||||||
|
|
||||||
if (!$acl_app)
|
if (!$acl_app)
|
||||||
{
|
{
|
||||||
$acl_app = 'preferences';
|
$acl_app = 'preferences';
|
||||||
@ -224,8 +223,6 @@
|
|||||||
{
|
{
|
||||||
if ($data['account_type'] == 'u' && $data['account_id'] == $owner)
|
if ($data['account_type'] == 'u' && $data['account_id'] == $owner)
|
||||||
{
|
{
|
||||||
$shownentries--;
|
|
||||||
$totalentries--;
|
|
||||||
continue; /* no need to grant to self if user */
|
continue; /* no need to grant to self if user */
|
||||||
}
|
}
|
||||||
if ($data['account_type'] != $header_type)
|
if ($data['account_type'] != $header_type)
|
||||||
|
Loading…
Reference in New Issue
Block a user