@@ -28,7 +28,6 @@ |
||
28 | 28 | use OCP\AppFramework\Http\DataResponse; |
29 | 29 | use OCP\AppFramework\OCS\OCSBadRequestException; |
30 | 30 | use OCP\AppFramework\OCS\OCSNotFoundException; |
31 | -use OCP\Files\File; |
|
32 | 31 | use OCP\Files\Folder; |
33 | 32 | use OCP\Files\IRootFolder; |
34 | 33 | use OCP\Files\NotFoundException; |
@@ -31,7 +31,6 @@ |
||
31 | 31 | use OCP\Files\NotFoundException; |
32 | 32 | use OCP\IConfig; |
33 | 33 | use OCP\IL10N; |
34 | -use OCP\IPreview; |
|
35 | 34 | use OCP\IURLGenerator; |
36 | 35 | use OC\Files\AppData\Factory; |
37 | 36 |
@@ -28,7 +28,6 @@ |
||
28 | 28 | use OCP\AppFramework\Utility\ITimeFactory; |
29 | 29 | use OCP\IDBConnection; |
30 | 30 | use OCP\Security\ISecureRandom; |
31 | -use PhpParser\Node\Scalar\MagicConst\Dir; |
|
32 | 31 | |
33 | 32 | class DirectMapper extends Mapper { |
34 | 33 |
@@ -26,11 +26,8 @@ |
||
26 | 26 | use \OCP\AppFramework\OCSController; |
27 | 27 | use OCA\Richdocuments\Db\WopiMapper; |
28 | 28 | use OCP\AppFramework\Http\DataResponse; |
29 | -use OCP\AppFramework\OCS\OCSNotFoundException; |
|
30 | -use OCP\Files\NotFoundException; |
|
31 | 29 | use OCP\IConfig; |
32 | 30 | use OCP\IRequest; |
33 | -use OCP\Share\Exceptions\ShareNotFound; |
|
34 | 31 | use OCP\Share\IManager; |
35 | 32 | |
36 | 33 | class FederationController extends OCSController { |
@@ -27,7 +27,6 @@ |
||
27 | 27 | use OCA\Federation\TrustedServers; |
28 | 28 | use OCA\Files_Sharing\External\Storage as SharingExternalStorage; |
29 | 29 | use OCA\Richdocuments\TokenManager; |
30 | -use OCP\AppFramework\Http\RedirectResponse; |
|
31 | 30 | use OCP\AppFramework\QueryException; |
32 | 31 | use OCP\Files\File; |
33 | 32 | use OCP\Files\InvalidPathException; |
@@ -21,7 +21,6 @@ |
||
21 | 21 | */ |
22 | 22 | namespace OCA\Richdocuments\Preview; |
23 | 23 | |
24 | -use GuzzleHttp\Psr7\LimitStream; |
|
25 | 24 | use function GuzzleHttp\Psr7\stream_for; |
26 | 25 | use OC\Preview\Provider; |
27 | 26 | use OCA\Richdocuments\Capabilities; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | |
4 | 4 | use Behat\Behat\Context\Context; |
5 | 5 | use GuzzleHttp\Client; |
6 | -use GuzzleHttp\Psr7\Response; |
|
7 | 6 | use PHPUnit\Framework\Assert; |
8 | 7 | |
9 | 8 | class FeatureContext implements Context |
@@ -26,7 +26,6 @@ |
||
26 | 26 | |
27 | 27 | use OC\Files\Type\Detection; |
28 | 28 | use OC\Security\CSP\ContentSecurityPolicy; |
29 | -use OCA\Federation\TrustedServers; |
|
30 | 29 | use OCA\Richdocuments\AppConfig; |
31 | 30 | use OCA\Richdocuments\Capabilities; |
32 | 31 | use OCA\Richdocuments\Preview\MSExcel; |