diff --git a/config/example-config.php b/config/example-config.php index 5c12e773..220feaea 100644 --- a/config/example-config.php +++ b/config/example-config.php @@ -284,22 +284,6 @@ $c->collections_always_exist = false; */ // $c->local_tzid; -/** -* default is false -* If true, then events requested from someone other than the admmin or owner -* of a calendar will not get any alarm for it. Most client software also -* allows you to configure calendar by calendar which ones allow alarms, which -* is better really, but if you aren't using such software you might want -* to set this to true. -* -* You should be aware that there are potentially problems when someone without -* full access modifies an event, in which case any alarms will be lost! It really -* *is* better if you can control this client-side, in so many ways... -* -* @todo remove this capability when client software is more generally smarter. -*/ -// $c->hide_alarm = false; - /** * Many people want this, but it may be a security issue for you, so it is * disabled by default. If you enable it, then confidential / private events diff --git a/inc/caldav-REPORT.php b/inc/caldav-REPORT.php index c57ffa4b..628d4caa 100644 --- a/inc/caldav-REPORT.php +++ b/inc/caldav-REPORT.php @@ -99,12 +99,6 @@ function calendar_to_xml( $properties, $item ) { $caldav_data = $ical->Render(); } - elseif ( isset($c->hide_alarm) && $c->hide_alarm ) { - // Otherwise we hide the alarms (if configured to) - $ical = new iCalComponent( $caldav_data ); - $ical->ClearComponents( 'VALARM' ); - $caldav_data = $ical->Render(); - } } }