@@ -21,7 +21,6 @@ |
||
21 | 21 | |
22 | 22 | namespace OCA\Files_External\Lib\Backend; |
23 | 23 | |
24 | -use OCA\Files_External\Lib\Storage\InvalidStorage; |
|
25 | 24 | use OCA\Files_External\Lib\StorageConfig; |
26 | 25 | use OCP\Files\StorageNotAvailableException; |
27 | 26 | use OCP\IUser; |
@@ -29,7 +29,6 @@ |
||
29 | 29 | use OC\Files\Storage\Wrapper\Availability; |
30 | 30 | use OCA\Files_External\Migration\StorageMigrator; |
31 | 31 | use OCP\Files\Storage; |
32 | -use OC\Files\Mount\MountPoint; |
|
33 | 32 | use OCP\Files\Storage\IStorageFactory; |
34 | 33 | use OCA\Files_External\Lib\PersonalMount; |
35 | 34 | use OCP\Files\Config\IMountProvider; |
@@ -116,7 +116,6 @@ |
||
116 | 116 | use OC\Template\SCSSCacher; |
117 | 117 | use OCA\Theming\ImageManager; |
118 | 118 | use OCA\Theming\ThemingDefaults; |
119 | - |
|
120 | 119 | use OCP\App\IAppManager; |
121 | 120 | use OCP\AppFramework\Utility\ITimeFactory; |
122 | 121 | use OCP\Collaboration\AutoComplete\IManager; |
@@ -26,7 +26,6 @@ |
||
26 | 26 | |
27 | 27 | use OCA\Files_External\Service\BackendService; |
28 | 28 | use OCA\Files_External\Service\DBConfigService; |
29 | -use OCA\Files_External\Service\GlobalLegacyStoragesService; |
|
30 | 29 | use OCA\Files_External\Service\LegacyStoragesService; |
31 | 30 | use OCA\Files_External\Service\StoragesService; |
32 | 31 | use OCA\Files_External\Service\UserLegacyStoragesService; |
@@ -27,10 +27,6 @@ |
||
27 | 27 | namespace OC\Settings\Admin; |
28 | 28 | |
29 | 29 | use Doctrine\DBAL\Connection; |
30 | -use Doctrine\DBAL\DBALException; |
|
31 | -use Doctrine\DBAL\Platforms\SqlitePlatform; |
|
32 | -use OC\Lock\DBLockingProvider; |
|
33 | -use OC\Lock\NoopLockingProvider; |
|
34 | 30 | use OCP\AppFramework\Http\TemplateResponse; |
35 | 31 | use OCP\IConfig; |
36 | 32 | use OCP\IDBConnection; |
@@ -52,7 +52,6 @@ |
||
52 | 52 | use OCP\IGroupManager; |
53 | 53 | use OCP\IL10N; |
54 | 54 | use OCP\IRequest; |
55 | -use OCP\IURLGenerator; |
|
56 | 55 | use OCP\IUser; |
57 | 56 | use OCP\IUserManager; |
58 | 57 | use OCP\IUserSession; |
@@ -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 |
@@ -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; |