aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Cdav.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-04-24 14:48:30 +0200
committerMario Vavti <mario@mariovavti.com>2019-04-24 14:48:30 +0200
commitf616b2d49a2d106ceb6cf4b1cea0e65a995ae394 (patch)
treed91d5e1f762511fe9a7d8f5d518962d6d7090ea5 /Zotlabs/Module/Cdav.php
parent79654635d34bedd96c8eb56d18a2a4af7eccb821 (diff)
downloadvolse-hubzilla-f616b2d49a2d106ceb6cf4b1cea0e65a995ae394.tar.gz
volse-hubzilla-f616b2d49a2d106ceb6cf4b1cea0e65a995ae394.tar.bz2
volse-hubzilla-f616b2d49a2d106ceb6cf4b1cea0e65a995ae394.zip
calendar merge: bring back event categories
Diffstat (limited to 'Zotlabs/Module/Cdav.php')
-rw-r--r--Zotlabs/Module/Cdav.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/Zotlabs/Module/Cdav.php b/Zotlabs/Module/Cdav.php
index cd5cbc61e..8985e257a 100644
--- a/Zotlabs/Module/Cdav.php
+++ b/Zotlabs/Module/Cdav.php
@@ -952,6 +952,8 @@ class Cdav extends Controller {
$description = ['description', t('Description')];
$location = ['location', t('Location')];
+ $catsenabled = feature_enabled(local_channel(), 'categories');
+
require_once('include/acl_selectors.php');
$accesslist = new \Zotlabs\Access\AccessList($channel);
@@ -1001,7 +1003,9 @@ class Cdav extends Controller {
'$allow_cid' => acl2json($permissions['allow_cid']),
'$allow_gid' => acl2json($permissions['allow_gid']),
'$deny_cid' => acl2json($permissions['deny_cid']),
- '$deny_gid' => acl2json($permissions['deny_gid'])
+ '$deny_gid' => acl2json($permissions['deny_gid']),
+ '$catsenabled' => $catsenabled,
+ '$categories_label' => t('Categories')
]);
return $o;