Quick workaround for iOS6 supported-calendar-component-set issue.

Adds a $c->default_calendar_components array of (VEVENT,VTODO,...)
This commit is contained in:
Andrew McMillan 2012-09-20 23:37:22 +12:00
parent 9d7d453211
commit 584a52cb70

View File

@ -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() )