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:
		
				
					committed by
					
						 Jelle van der Waa
						Jelle van der Waa
					
				
			
			
				
	
			
			
			
						parent
						
							783145bb75
						
					
				
				
					commit
					0e24ab5da1
				
			| @@ -253,10 +253,9 @@ 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]++; |  | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user