From f5bbe15e1ebb37ed133020216c87484a9d4f90d5 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sat, 30 Jun 2001 14:56:24 +0000 Subject: [PATCH] Fixes to go along with ACL changes. --- calendar/inc/functions.inc.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/calendar/inc/functions.inc.php b/calendar/inc/functions.inc.php index 0ebeb57b5d..2d8dd4b902 100755 --- a/calendar/inc/functions.inc.php +++ b/calendar/inc/functions.inc.php @@ -38,27 +38,22 @@ { $owner = $phpgw_info['user']['account_id']; $rights = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE + PHPGW_ACL_PRIVATE; - $grants[$owner] = $rights; } else { if($grants[$owner]) { - $grants[$phpgw_info['user']['account_id']] = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE + PHPGW_ACL_PRIVATE; - $rights = $grants[$owner]; if ($rights == 0) { $owner = $phpgw_info['user']['account_id']; $rights = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE + PHPGW_ACL_PRIVATE; - $grants[$owner] = $rights; } } else { $owner = $phpgw_info['user']['account_id']; $rights = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE + PHPGW_ACL_PRIVATE; - $grants[$owner] = $rights; } }