@@ -29,17 +29,13 @@ discard block |
||
29 | 29 | |
30 | 30 | namespace OCA\FederatedFileSharing\Controller; |
31 | 31 | |
32 | -use OC\Files\Filesystem; |
|
33 | 32 | use OC\HintException; |
34 | -use OC\Share\Helper; |
|
35 | 33 | use OCA\FederatedFileSharing\AddressHandler; |
36 | 34 | use OCA\FederatedFileSharing\FederatedShareProvider; |
37 | -use OCA\Files_Sharing\External\Manager; |
|
38 | 35 | use OCP\AppFramework\Controller; |
39 | 36 | use OCP\AppFramework\Http; |
40 | 37 | use OCP\AppFramework\Http\JSONResponse; |
41 | 38 | use OCP\Federation\ICloudIdManager; |
42 | -use OCP\Files\StorageInvalidException; |
|
43 | 39 | use OCP\Http\Client\IClientService; |
44 | 40 | use OCP\IL10N; |
45 | 41 | use OCP\ILogger; |
@@ -47,7 +43,6 @@ discard block |
||
47 | 43 | use OCP\ISession; |
48 | 44 | use OCP\IUserSession; |
49 | 45 | use OCP\Share\IManager; |
50 | -use OCP\Util; |
|
51 | 46 | |
52 | 47 | /** |
53 | 48 | * Class MountPublicLinkController |
@@ -53,7 +53,6 @@ |
||
53 | 53 | use OCP\Files\Storage\INotifyStorage; |
54 | 54 | use OCP\Files\StorageNotAvailableException; |
55 | 55 | use OCP\ILogger; |
56 | -use OCP\Util; |
|
57 | 56 | |
58 | 57 | class SMB extends Common implements INotifyStorage { |
59 | 58 | /** |
@@ -36,7 +36,6 @@ |
||
36 | 36 | use OCP\Http\Client\IClientService; |
37 | 37 | use OCP\IConfig; |
38 | 38 | use OCP\ILogger; |
39 | -use OCP\Util; |
|
40 | 39 | |
41 | 40 | abstract class Fetcher { |
42 | 41 | const INVALIDATE_AFTER_SECONDS = 300; |
@@ -34,7 +34,6 @@ |
||
34 | 34 | namespace OC\Files\Storage; |
35 | 35 | |
36 | 36 | use Exception; |
37 | -use GuzzleHttp\Exception\RequestException; |
|
38 | 37 | use OCP\ILogger; |
39 | 38 | use Psr\Http\Message\ResponseInterface; |
40 | 39 | use Icewind\Streams\CallbackWrapper; |
@@ -36,13 +36,11 @@ |
||
36 | 36 | namespace OC; |
37 | 37 | |
38 | 38 | use InterfaSys\LogNormalizer\Normalizer; |
39 | - |
|
40 | 39 | use OC\Log\ExceptionSerializer; |
41 | 40 | use OCP\Log\IFileBased; |
42 | 41 | use OCP\Log\IWriter; |
43 | 42 | use OCP\ILogger; |
44 | 43 | use OCP\Support\CrashReport\IRegistry; |
45 | -use OCP\Util; |
|
46 | 44 | |
47 | 45 | /** |
48 | 46 | * logging utilities |
@@ -46,7 +46,6 @@ |
||
46 | 46 | use OCP\Settings\ISettings; |
47 | 47 | use OCP\Settings\IManager; |
48 | 48 | use OCP\Settings\ISection; |
49 | -use OCP\Util; |
|
50 | 49 | |
51 | 50 | class Manager implements IManager { |
52 | 51 | /** @var ILogger */ |