@@ -232,6 +232,9 @@  | 
                                                    ||
| 232 | 232 | }  | 
                                                        
| 233 | 233 | }  | 
                                                        
| 234 | 234 | |
| 235 | + /**  | 
                                                        |
| 236 | + * @param string $url  | 
                                                        |
| 237 | + */  | 
                                                        |
| 235 | 238 |  	private function testRemoteUrl($url) { | 
                                                        
| 236 | 239 | $result = file_get_contents($url);  | 
                                                        
| 237 | 240 | $data = json_decode($result);  | 
                                                        
@@ -27,7 +27,6 @@  | 
                                                    ||
| 27 | 27 | |
| 28 | 28 | use OC\Files\Storage\DAV;  | 
                                                        
| 29 | 29 | use OC\ForbiddenException;  | 
                                                        
| 30 | -use OCA\FederatedFileSharing\DiscoveryManager;  | 
                                                        |
| 31 | 30 | use OCA\Files_Sharing\ISharedStorage;  | 
                                                        
| 32 | 31 | use OCP\Files\NotFoundException;  | 
                                                        
| 33 | 32 | use OCP\Files\StorageInvalidException;  |