aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-05-21 12:31:50 +0200
committerMario Vavti <mario@mariovavti.com>2019-05-21 12:31:50 +0200
commite834c7fe3e421a7a52e27b274d8ea35bd2ad5bec (patch)
treec19857f7f23eff4780901b66fd9c1f1a80ddcd5a /Zotlabs
parentf96958adf84f7f2a45aa7860e52198f3de74f9e0 (diff)
downloadvolse-hubzilla-e834c7fe3e421a7a52e27b274d8ea35bd2ad5bec.tar.gz
volse-hubzilla-e834c7fe3e421a7a52e27b274d8ea35bd2ad5bec.tar.bz2
volse-hubzilla-e834c7fe3e421a7a52e27b274d8ea35bd2ad5bec.zip
remove unused code
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Cdav.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/Zotlabs/Module/Cdav.php b/Zotlabs/Module/Cdav.php
index 0c3450c70..08d27c850 100644
--- a/Zotlabs/Module/Cdav.php
+++ b/Zotlabs/Module/Cdav.php
@@ -1034,7 +1034,6 @@ class Cdav extends Controller {
$dtstart = ['dtstart', t('Start date and time')];
$dtend = ['dtend', t('End date and time')];
$timezone_select = ['timezone_select' , t('Timezone:'), date_default_timezone_get(), '', get_timezones()];
- $allday = ['allday', t('All day event'), '', '', [t('No'), t('Yes')]];
$description = ['description', t('Description')];
$location = ['location', t('Location')];
@@ -1096,9 +1095,7 @@ class Cdav extends Controller {
'$resource' => json_encode($resource),
'$categories' => $categories,
- '$timezone_select' => ((feature_enabled(local_channel(),'event_tz_select')) ? $timezone_select : ''),
- '$allday' => $allday
-
+ '$timezone_select' => ((feature_enabled(local_channel(),'event_tz_select')) ? $timezone_select : '')
]);
return $o;