This commit is contained in:
mattwillis%gmail.com 2006-09-06 12:07:06 +00:00
Родитель 150620babc
Коммит da5de2a4a8
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -266,7 +266,7 @@ calCalendarManager.prototype = {
// providers (storage and memory). Otherwise we may nuke someone's
// calendar stored on a server when all they really wanted to do was
// unsubscribe.
if (calendar instanceof Components.interfaces.calICalendarProvider
if (calendar instanceof Components.interfaces.calICalendarProvider &&
(calendar.type == "storage" || calendar.type == "memory")) {
try {
calendar.deleteCalendar(calendar, null);