From 9b6e46dc6b245a229b0b5af0efea88c2838ce56a Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 19 Apr 2019 15:32:56 +0200 Subject: calendar merge initial commit --- include/event.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/event.php b/include/event.php index fdb9e1415..750d1add1 100644 --- a/include/event.php +++ b/include/event.php @@ -1279,6 +1279,10 @@ function cdav_principal($uri) { } function cdav_perms($needle, $haystack, $check_rw = false) { + + if($needle == 'channel_calendar') + return true; + foreach ($haystack as $item) { if($check_rw) { if(is_array($item['id'])) { -- cgit v1.2.3