Merge pull request #10 in KWA/mobile-device-management from ~JVANDERWAA/mobile-device-management:KMP-27-synchronized-folders to master

* commit '0e24ab5da1934aa1466a53ab52746895922e1ffa':
  Only count folders with a UUID as being synchronized
This commit is contained in:
Sean van der Spek 2017-02-01 09:37:07 +01:00
commit 1b0d83f0e2

View File

@ -253,10 +253,9 @@ class PluginMDMModule extends Module
$folderType = $this->getSyncFolderType($type, $name);
if (!isset($synchedFolderTypes[$folderType])) {
$synchedFolderTypes[$folderType] = 0;
}
$synchedFolderTypes[$folderType]++;
if (isset($contentData[$folderid][self::FOLDERUUID])) {
$synchedFolderTypes[$folderType]++;
}
}
}