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:
		| @@ -253,12 +253,11 @@ class PluginMDMModule extends Module | |||||||
|  |  | ||||||
| 				$folderType = $this->getSyncFolderType($type, $name); | 				$folderType = $this->getSyncFolderType($type, $name); | ||||||
|  |  | ||||||
| 				if (!isset($synchedFolderTypes[$folderType])) { |                                 if (isset($contentData[$folderid][self::FOLDERUUID])) { | ||||||
| 					$synchedFolderTypes[$folderType] = 0; |  | ||||||
| 				} |  | ||||||
| 				        $synchedFolderTypes[$folderType]++; | 				        $synchedFolderTypes[$folderType]++; | ||||||
|                                 } |                                 } | ||||||
| 			} | 			} | ||||||
|  | 		} | ||||||
|  |  | ||||||
| 		foreach ($synchedFolderTypes as $key => $value) { | 		foreach ($synchedFolderTypes as $key => $value) { | ||||||
| 			$synchronizedData = $synchronizedData . $key; | 			$synchronizedData = $synchronizedData . $key; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user