@@ -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; |
@@ -42,7 +42,6 @@ |
||
| 42 | 42 | use OCP\AppFramework\Http\DataResponse; |
| 43 | 43 | use OCP\AppFramework\Http\NotFoundResponse; |
| 44 | 44 | use OCP\AppFramework\Utility\ITimeFactory; |
| 45 | -use OCP\Files\File; |
|
| 46 | 45 | use OCP\Files\IAppData; |
| 47 | 46 | use OCP\Files\NotFoundException; |
| 48 | 47 | use OCP\Files\NotPermittedException; |
@@ -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 |
@@ -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 | /** |