mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Remove hide_todo configuration option. It no longer applies.
This commit is contained in:
parent
0fb962fd6c
commit
29ddf75541
@ -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
|
||||
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user