settings for events and cdav calendar

This commit is contained in:
Mario
2018-09-23 19:18:05 +02:00
parent 1f1d5b9181
commit 781fdaafcd
10 changed files with 186 additions and 28 deletions

View File

@@ -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')];