Commit 01ae86cf authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1179 Folder id need to be converted into short folderids when

deleting.

Released under the Affero GNU General Public License (AGPL) version 3.
parent b9da959a
...@@ -232,7 +232,7 @@ class PHPWrapper { ...@@ -232,7 +232,7 @@ class PHPWrapper {
*/ */
function ImportFolderDeletion($flags, $sourcekeys) { function ImportFolderDeletion($flags, $sourcekeys) {
foreach ($sourcekeys as $sourcekey) { foreach ($sourcekeys as $sourcekey) {
$this->importer->ImportFolderDeletion(SyncFolder::GetObject(bin2hex($sourcekey))); $this->importer->ImportFolderDeletion(SyncFolder::GetObject(ZPush::GetDeviceManager()->GetFolderIdForBackendId(bin2hex($sourcekey))));
} }
return 0; return 0;
} }
......
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