Don't allow to remove the default calendar
This commit is contained in:
parent
624f3b1695
commit
c103391e79
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ class kolab_driver extends calendar_driver
|
||||||
'children' => true, // TODO: determine if that folder indeed has child folders
|
'children' => true, // TODO: determine if that folder indeed has child folders
|
||||||
'parent' => $parent_id,
|
'parent' => $parent_id,
|
||||||
'caldavurl' => $cal->get_caldav_url(),
|
'caldavurl' => $cal->get_caldav_url(),
|
||||||
'removable' => true,
|
'removable' => !$cal->default,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue