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)