Commit 77c74dc9 authored by Ralf Becker's avatar Ralf Becker

ZP-1018 delete folder broken in diffbackend.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 2c514c06
......@@ -260,7 +260,7 @@ class ImportChangesDiff extends DiffState implements IImportChanges {
if (isset($folder->type) && Utils::IsSystemFolder($folder->type))
throw new StatusException(sprintf("ImportChangesDiff->ImportFolderDeletion('%s','%s'): Error deleting system/default folder", $id, $parent), SYNC_FSSTATUS_SYSTEMFOLDER);
$ret = $this->backend->DeleteFolder($folder);
$ret = $this->backend->DeleteFolder($id, $parent);
if (!$ret)
throw new StatusException(sprintf("ImportChangesDiff->ImportFolderDeletion('%s','%s'): can not be deleted", $id, $parent), SYNC_FSSTATUS_FOLDERDOESNOTEXIST);
......
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