aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Cdav.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-09-23 19:18:05 +0200
committerMario <mario@mariovavti.com>2018-09-23 19:18:05 +0200
commit781fdaafcd6a8086b76409b0a39d8edbca2e04c9 (patch)
treecb9d1e782cb0dfaeab8f0fdcd183c571669dc1a1 /Zotlabs/Module/Cdav.php
parent1f1d5b9181dd7a9800a2d5c596d8da0f906c53e3 (diff)
downloadvolse-hubzilla-781fdaafcd6a8086b76409b0a39d8edbca2e04c9.tar.gz
volse-hubzilla-781fdaafcd6a8086b76409b0a39d8edbca2e04c9.tar.bz2
volse-hubzilla-781fdaafcd6a8086b76409b0a39d8edbca2e04c9.zip
settings for events and cdav calendar
Diffstat (limited to 'Zotlabs/Module/Cdav.php')
-rw-r--r--Zotlabs/Module/Cdav.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Module/Cdav.php b/Zotlabs/Module/Cdav.php
index bff308dfa..7142615d5 100644
--- a/Zotlabs/Module/Cdav.php
+++ b/Zotlabs/Module/Cdav.php
@@ -850,6 +850,8 @@ class Cdav extends Controller {
return $o;
}
+ App::$profile_uid = local_channel();
+
$channel = App::get_channel();
$principalUri = 'principals/' . $channel['channel_address'];
@@ -905,7 +907,7 @@ class Cdav extends Controller {
$sources = rtrim($sources, ', ');
- $first_day = get_pconfig(local_channel(),'system','cal_first_day');
+ $first_day = feature_enabled(local_channel(), 'cal_first_day');
$first_day = (($first_day) ? $first_day : 0);
$title = ['title', t('Event title')];