1
0
mirror of https://github.com/moparisthebest/davmail synced 2025-01-12 14:08:38 -05:00

Caldav: avoid invalid X-CALENDARSERVER-ACCESS and CLASS

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1449 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-09-14 21:58:09 +00:00
parent defaf63d4b
commit cd5eacfb56

View File

@ -357,8 +357,6 @@ public class VCalendar extends VObject {
return "CONFIDENTIAL";
} else if ("CONFIDENTIAL".equalsIgnoreCase(calendarServerAccess) || "RESTRICTED".equalsIgnoreCase(calendarServerAccess)) {
return "PRIVATE";
} else if (calendarServerAccess != null && calendarServerAccess.length() > 0) {
return calendarServerAccess;
} else {
return null;
}
@ -376,8 +374,6 @@ public class VCalendar extends VObject {
return "CONFIDENTIAL";
} else if ("CONFIDENTIAL".equalsIgnoreCase(eventClass)) {
return "PRIVATE";
} else if (eventClass != null && eventClass.length() > 0) {
return eventClass;
} else {
return null;
}