I had set CALDAV_SUPPORTS_SYNC incorrectly (using SabreDAV 1.8.6 instead of the supported 1.9+) and CalDAVClient err'ed on me when it tried to access its sync tokens, which it of course did not have.
This adds a clear warning message informing the user of a possible fix and prevents the "Undefined index" warnings from occurring by checking if a token is available.
Quite possibly fixes issue #139.
The UTF-8 fix makes the commit diff human readable by github. :-)
I had set CALDAV_SUPPORTS_SYNC incorrectly (using SabreDAV 1.8.6 instead of the supported 1.9+) and CalDAVClient err'ed on me when it tried to access its sync tokens, which it of course did not have.
This adds a clear warning message informing the user of a possible fix and prevents the "Undefined index" warnings from occurring by checking if a token is available.
Quite possibly fixes issue #139.
The UTF-8 fix makes the commit diff human readable by github. :-)