mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-31 03:34:18 +00:00
Quick workaround for iOS6 supported-calendar-component-set issue.
Adds a $c->default_calendar_components array of (VEVENT,VTODO,...)
This commit is contained in:
parent
9d7d453211
commit
584a52cb70
@ -1706,8 +1706,11 @@ EOQRY;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ( isset($c->default_calendar_components) && is_array($c->default_calendar_components) ) {
|
||||
$set_of_components = $c->default_calendar_components;
|
||||
}
|
||||
else {
|
||||
$set_of_components = array( 'VEVENT', 'VTODO', 'VJOURNAL', 'VTIMEZONE', 'VFREEBUSY', 'VPOLL', 'VAVAILABILITY' );
|
||||
$set_of_components = array( 'VEVENT', 'VTODO', 'VJOURNAL' );
|
||||
}
|
||||
}
|
||||
else if ( $this->IsSchedulingCollection() )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user