aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-04-19 15:32:56 +0200
committerMario Vavti <mario@mariovavti.com>2019-04-19 15:32:56 +0200
commit9b6e46dc6b245a229b0b5af0efea88c2838ce56a (patch)
tree45452530ab33c9c41e87f768256b946999560185 /include
parentb7cb2a295148f64ad56a3d428f7a781a232601fd (diff)
downloadvolse-hubzilla-9b6e46dc6b245a229b0b5af0efea88c2838ce56a.tar.gz
volse-hubzilla-9b6e46dc6b245a229b0b5af0efea88c2838ce56a.tar.bz2
volse-hubzilla-9b6e46dc6b245a229b0b5af0efea88c2838ce56a.zip
calendar merge initial commit
Diffstat (limited to 'include')
-rw-r--r--include/event.php4
1 files changed, 4 insertions, 0 deletions
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'])) {