"silently remove user himself (NOT decrementing total or number of shown entries): looks much better ;-)"

This commit is contained in:
Ralf Becker 2010-04-20 08:42:26 +00:00
parent 2c26d5a9b9
commit 54ab90088e

View File

@ -52,7 +52,6 @@ class uiaclprefs
$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';
@ -240,8 +239,6 @@ class uiaclprefs
{ {
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)