Create default calenar with alarms enabled (#2816)

This commit is contained in:
Thomas Bruederli 2014-08-04 11:40:01 +02:00
parent a99148ec0c
commit b48d9925d8

View file

@ -107,7 +107,7 @@ class database_driver extends calendar_driver
{
// attempt to create a default calendar for this user
if (empty($this->calendars)) {
if ($this->create_calendar(array('name' => 'Default', 'color' => 'cc0000')))
if ($this->create_calendar(array('name' => 'Default', 'color' => 'cc0000', 'showalarms' => true)))
$this->_read_calendars();
}