remove unused code

This commit is contained in:
Mario Vavti 2019-05-21 12:31:50 +02:00
parent f96958adf8
commit e834c7fe3e

View File

@ -1034,7 +1034,6 @@ class Cdav extends Controller {
$dtstart = ['dtstart', t('Start date and time')]; $dtstart = ['dtstart', t('Start date and time')];
$dtend = ['dtend', t('End date and time')]; $dtend = ['dtend', t('End date and time')];
$timezone_select = ['timezone_select' , t('Timezone:'), date_default_timezone_get(), '', get_timezones()]; $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')]; $description = ['description', t('Description')];
$location = ['location', t('Location')]; $location = ['location', t('Location')];
@ -1096,9 +1095,7 @@ class Cdav extends Controller {
'$resource' => json_encode($resource), '$resource' => json_encode($resource),
'$categories' => $categories, '$categories' => $categories,
'$timezone_select' => ((feature_enabled(local_channel(),'event_tz_select')) ? $timezone_select : ''), '$timezone_select' => ((feature_enabled(local_channel(),'event_tz_select')) ? $timezone_select : '')
'$allday' => $allday
]); ]);
return $o; return $o;