@@ -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 */ |
@@ -32,7 +32,6 @@ |
||
| 32 | 32 | use OCA\FederatedFileSharing\AddressHandler; |
| 33 | 33 | use OCA\FederatedFileSharing\FederatedShareProvider; |
| 34 | 34 | use OCA\FederatedFileSharing\Notifications; |
| 35 | -use OCA\FederatedFileSharing\OCM\CloudFederationProvider; |
|
| 36 | 35 | use OCA\FederatedFileSharing\TokenHandler; |
| 37 | 36 | use OCA\ShareByMail\Settings\SettingsManager; |
| 38 | 37 | use OCA\ShareByMail\ShareByMailProvider; |
@@ -26,7 +26,6 @@ |
||
| 26 | 26 | |
| 27 | 27 | use OCP\IUser; |
| 28 | 28 | use OCP\IUserManager; |
| 29 | -use OCA\Files_Versions\AppInfo\Application; |
|
| 30 | 29 | use OCA\Files_Versions\Storage; |
| 31 | 30 | use OCA\Files_Versions\Expiration; |
| 32 | 31 | |
@@ -29,7 +29,6 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | namespace OCA\FederatedFileSharing\Controller; |
| 31 | 31 | |
| 32 | -use OCA\Files_Sharing\Activity\Providers\RemoteShares; |
|
| 33 | 32 | use OCA\FederatedFileSharing\AddressHandler; |
| 34 | 33 | use OCA\FederatedFileSharing\FederatedShareProvider; |
| 35 | 34 | use OCA\FederatedFileSharing\Notifications; |
@@ -39,7 +38,6 @@ discard block |
||
| 39 | 38 | use OCP\AppFramework\OCS\OCSForbiddenException; |
| 40 | 39 | use OCP\AppFramework\OCS\OCSNotFoundException; |
| 41 | 40 | use OCP\AppFramework\OCSController; |
| 42 | -use OCP\Constants; |
|
| 43 | 41 | use OCP\Federation\Exceptions\ProviderCouldNotAddShareException; |
| 44 | 42 | use OCP\Federation\Exceptions\ProviderDoesNotExistsException; |
| 45 | 43 | use OCP\Federation\Exceptions\ShareNotFoundException; |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | use OCA\FederatedFileSharing\AddressHandler; |
| 28 | 28 | use OCA\FederatedFileSharing\FederatedShareProvider; |
| 29 | 29 | use OCP\Activity\IManager as IActivityManager; |
| 30 | -use OCP\Activity\IManager; |
|
| 31 | 30 | use OCP\App\IAppManager; |
| 32 | 31 | use OCP\Constants; |
| 33 | 32 | use OCP\Federation\Exceptions\ActionNotSupportedException; |