mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-05 18:58:02 -05:00
Caldav: reintroduce davmail.caldavDisableTasks setting to disable tasks support
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1959 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
6d02a25c0e
commit
7fa79e7b4d
@ -2571,7 +2571,7 @@ public abstract class ExchangeSession {
|
||||
public List<Event> getAllEvents(String folderPath) throws IOException {
|
||||
List<Event> results = searchEvents(folderPath, getCalendarItemCondition(getPastDelayCondition("dtstart")));
|
||||
|
||||
if (isMainCalendar(folderPath)) {
|
||||
if (!Settings.getBooleanProperty("davmail.caldavDisableTasks", false) && isMainCalendar(folderPath)) {
|
||||
// retrieve tasks from main tasks folder
|
||||
results.addAll(searchTasksOnly(TASKS));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user