Commit b0c062a8 authored by Manfred Kutas's avatar Manfred Kutas

ZP-1286 Unable to delete an appointment on mobile phone.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 1b59bc7d
...@@ -457,7 +457,7 @@ class ImportChangesICS implements IImportChanges { ...@@ -457,7 +457,7 @@ class ImportChangesICS implements IImportChanges {
list(,$sk) = Utils::SplitMessageId($id); list(,$sk) = Utils::SplitMessageId($id);
// check if message is in the synchronization interval and/or shared+private // check if message is in the synchronization interval and/or shared+private
if (!$this->isModificationAllowed($id)) if (!$this->isModificationAllowed($sk))
throw new StatusException(sprintf("ImportChangesICS->ImportMessageDeletion('%s'): Message deletion is not allowed. Deletion not executed.", $id), SYNC_STATUS_OBJECTNOTFOUND); throw new StatusException(sprintf("ImportChangesICS->ImportMessageDeletion('%s'): Message deletion is not allowed. Deletion not executed.", $id), SYNC_STATUS_OBJECTNOTFOUND);
// check for conflicts // check for conflicts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment