From d2d12bbe049e5ecd75a7ebe449347ee509893c5d Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 19 Apr 2012 18:01:04 +1200 Subject: [PATCH] Need $request globally in this function --- inc/caldav-ACL.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/caldav-ACL.php b/inc/caldav-ACL.php index 2d72fa25..ace42c30 100644 --- a/inc/caldav-ACL.php +++ b/inc/caldav-ACL.php @@ -104,8 +104,8 @@ $cache_delete_list = array(); $qry = new AwlQuery('BEGIN'); $qry->Exec('ACL',__LINE__,__FILE__); -function process_ace( $grantor, $by_principal, $by_collection, $ace ) { - global $cache_delete_list; +function process_ace( $grantor, $by_principal, $by_collection, XMLElement $ace ) { + global $cache_delete_list, $request; $elements = $ace->GetContent(); $principal_node = $elements[0];