From 54ab90088e51ac52b4615da4a4eefd9c561be90d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 20 Apr 2010 08:42:26 +0000 Subject: [PATCH] "silently remove user himself (NOT decrementing total or number of shown entries): looks much better ;-)" --- preferences/inc/class.uiaclprefs.inc.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/preferences/inc/class.uiaclprefs.inc.php b/preferences/inc/class.uiaclprefs.inc.php index b384c3357f..bd8ef1dac3 100644 --- a/preferences/inc/class.uiaclprefs.inc.php +++ b/preferences/inc/class.uiaclprefs.inc.php @@ -52,7 +52,6 @@ class uiaclprefs $owner = get_var('owner',array('POST','GET'),$GLOBALS['egw_info']['user']['account_id']); $search_type= get_var('search_type',array('POST','GET')); - if (!$acl_app) { $acl_app = 'preferences'; @@ -240,8 +239,6 @@ class uiaclprefs { if ($data['account_type'] == 'u' && $data['account_id'] == $owner) { - $shownentries--; - $totalentries--; continue; /* no need to grant to self if user */ } if ($data['account_type'] != $header_type)