Closed xbgmsharp closed 12 years ago
Comitted a bit different. In you config you define('CALDAV_PERSONAL', 'personal'); and then it will do what you want :)
But this way the personal can be some other folder OR nothing.
Tx
Op 17-04-12 16:18, xbgmsharp schreef:
In GetFolder I add additional Folder type. I am not about the difference but according to the name it does make sense. What do you think?
- $folder->type = SYNC_FOLDER_TYPE_APPOINTMENT;
- if (substr($id, 1) == "personal")
- $folder->type = SYNC_FOLDER_TYPE_APPOINTMENT;
- else
- $folder->type = SYNC_FOLDER_TYPE_USER_APPOINTMENT; } else {
- $folder->type = SYNC_FOLDER_TYPE_TASK;
- if (substr($id, 1) == "personal")
- $folder->type = SYNC_FOLDER_TYPE_TASK;
- else
- $folder->type = SYNC_FOLDER_TYPE_USER_TASK;
Reply to this email directly or view it on GitHub: https://github.com/dupondje/PHP-Push-2/issues/2
Sound nice. Do you know the difference between those 2? Does it make sense to use them?
In GetFolder I add additional Folder type. I am not about the difference but according to the name it does make sense. What do you think?