Only count folders with a UUID as being synchronized
Folders in Z-Push with the key '1' in $contentData set have are synchronized all other folders are not. References: KMP-27
This commit is contained in:
parent
783145bb75
commit
0e24ab5da1
@ -253,12 +253,11 @@ class PluginMDMModule extends Module
|
||||
|
||||
$folderType = $this->getSyncFolderType($type, $name);
|
||||
|
||||
if (!isset($synchedFolderTypes[$folderType])) {
|
||||
$synchedFolderTypes[$folderType] = 0;
|
||||
}
|
||||
if (isset($contentData[$folderid][self::FOLDERUUID])) {
|
||||
$synchedFolderTypes[$folderType]++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($synchedFolderTypes as $key => $value) {
|
||||
$synchronizedData = $synchronizedData . $key;
|
||||
|
Loading…
Reference in New Issue
Block a user