diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-03-27 17:14:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 17:14:08 +0100 |
commit | 463b388589134fd816f1ff3ee5ce9dc76c3e4035 (patch) | |
tree | dbd2f8cb51cb74e1fa5a34291b8400926772d633 /apps/federatedfilesharing | |
parent | ad63c1da1b1d4781da76239bc54762aa51481b92 (diff) | |
parent | 74936c49eae91470ce2ec0cf1085d334011a4608 (diff) | |
download | nextcloud-server-463b388589134fd816f1ff3ee5ce9dc76c3e4035.tar.gz nextcloud-server-463b388589134fd816f1ff3ee5ce9dc76c3e4035.zip |
Merge pull request #20170 from nextcloud/techdebt/remove-unused-imports
Remove unused imports
Diffstat (limited to 'apps/federatedfilesharing')
-rw-r--r-- | apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php | 5 | ||||
-rw-r--r-- | apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php | 9 |
2 files changed, 0 insertions, 14 deletions
diff --git a/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php b/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php index c0c9ce9bc8c..bf2948b0f64 100644 --- a/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php +++ b/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php @@ -29,17 +29,13 @@ namespace OCA\FederatedFileSharing\Controller; -use OC\Files\Filesystem; use OC\HintException; -use OC\Share\Helper; use OCA\FederatedFileSharing\AddressHandler; use OCA\FederatedFileSharing\FederatedShareProvider; -use OCA\Files_Sharing\External\Manager; use OCP\AppFramework\Controller; use OCP\AppFramework\Http; use OCP\AppFramework\Http\JSONResponse; use OCP\Federation\ICloudIdManager; -use OCP\Files\StorageInvalidException; use OCP\Http\Client\IClientService; use OCP\IL10N; use OCP\ILogger; @@ -47,7 +43,6 @@ use OCP\IRequest; use OCP\ISession; use OCP\IUserSession; use OCP\Share\IManager; -use OCP\Util; /** * Class MountPublicLinkController diff --git a/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php b/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php index 805b79f4396..a99dfb55801 100644 --- a/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php +++ b/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php @@ -28,28 +28,19 @@ namespace OCA\FederatedFileSharing\Tests; -use OC\AppFramework\Http; -use OC\Federation\CloudIdManager; -use OC\Files\Filesystem; use OCA\FederatedFileSharing\Controller\RequestHandlerController; -use OCA\FederatedFileSharing\FederatedShareProvider; use OCP\AppFramework\Http\DataResponse; use OCP\Federation\ICloudFederationFactory; use OCP\Federation\ICloudFederationProvider; use OCP\Federation\ICloudFederationProviderManager; use OCP\Federation\ICloudFederationShare; use OCP\Federation\ICloudIdManager; -use OCP\Http\Client\IClient; -use OCP\Http\Client\IClientService; -use OCP\Http\Client\IResponse; -use OCP\IConfig; use OCP\IDBConnection; use OCP\ILogger; use OCP\IRequest; use OCP\IUserManager; use OCP\Share; use OCP\Share\IShare; -use PHPUnit\Framework\MockObject\Builder\InvocationMocker; /** * Class RequestHandlerTest |