@@ -23,15 +23,11 @@ |
||
23 | 23 | |
24 | 24 | namespace OCA\Deck\Service; |
25 | 25 | |
26 | -use OC\Security\CSP\ContentSecurityPolicyManager; |
|
27 | 26 | use OCA\Deck\Db\Attachment; |
28 | 27 | use OCA\Deck\StatusException; |
29 | 28 | use OCP\AppFramework\Http\ContentSecurityPolicy; |
30 | -use OCP\AppFramework\Http\EmptyContentSecurityPolicy; |
|
31 | 29 | use OCP\AppFramework\Http\FileDisplayResponse; |
32 | 30 | use OCP\AppFramework\Http\StreamResponse; |
33 | -use OCP\Files\Cache\IScanner; |
|
34 | -use OCP\Files\Folder; |
|
35 | 31 | use OCP\Files\IAppData; |
36 | 32 | use OCP\Files\IRootFolder; |
37 | 33 | use OCP\Files\NotFoundException; |
@@ -24,7 +24,6 @@ |
||
24 | 24 | namespace OCA\Deck\Controller; |
25 | 25 | |
26 | 26 | use OCP\AppFramework\ApiController; |
27 | - use OCP\AppFramework\Http; |
|
28 | 27 | use OCP\AppFramework\Http\DataResponse; |
29 | 28 | use OCP\IRequest; |
30 | 29 | use OCA\Deck\Service\CardService; |
@@ -23,13 +23,9 @@ |
||
23 | 23 | |
24 | 24 | namespace OCA\Deck\Db; |
25 | 25 | |
26 | -use OCP\AppFramework\Db\DoesNotExistException; |
|
27 | -use OCP\ICache; |
|
28 | 26 | use OCP\ICacheFactory; |
29 | 27 | use OCP\IDBConnection; |
30 | 28 | use OCP\IRequest; |
31 | -use OCP\IUserManager; |
|
32 | -use OCP\IGroupManager; |
|
33 | 29 | |
34 | 30 | class ChangeHelper { |
35 | 31 |
@@ -23,16 +23,13 @@ |
||
23 | 23 | |
24 | 24 | namespace OCA\Deck\Controller; |
25 | 25 | |
26 | -use OCA\Deck\Service\DefaultBoardService; |
|
27 | 26 | use OCP\AppFramework\Http\DataResponse; |
28 | 27 | use OCP\AppFramework\Http\NotFoundResponse; |
29 | 28 | use OCP\IConfig; |
30 | 29 | use OCP\IGroup; |
31 | 30 | use OCP\IGroupManager; |
32 | 31 | use OCP\IRequest; |
33 | -use OCP\AppFramework\Http\TemplateResponse; |
|
34 | 32 | use OCP\AppFramework\Controller; |
35 | -use OCP\IL10N; |
|
36 | 33 | |
37 | 34 | class ConfigController extends Controller { |
38 | 35 |
@@ -26,10 +26,8 @@ |
||
26 | 26 | |
27 | 27 | use OCA\Deck\StatusException; |
28 | 28 | use OCP\AppFramework\ApiController; |
29 | -use OCP\AppFramework\Http; |
|
30 | 29 | use OCP\AppFramework\Http\DataResponse; |
31 | 30 | use OCP\IRequest; |
32 | - |
|
33 | 31 | use OCA\Deck\Service\BoardService; |
34 | 32 | use Sabre\HTTP\Util; |
35 | 33 |
@@ -44,7 +44,6 @@ |
||
44 | 44 | use OCP\FullTextSearch\Model\ISearchResult; |
45 | 45 | use OCP\FullTextSearch\Model\ISearchTemplate; |
46 | 46 | use OCP\IL10N; |
47 | -use OCP\IURLGenerator; |
|
48 | 47 | |
49 | 48 | |
50 | 49 | /** |
@@ -25,7 +25,6 @@ discard block |
||
25 | 25 | |
26 | 26 | |
27 | 27 | use OCA\Deck\Db\Acl; |
28 | -use OCA\Deck\Db\Board; |
|
29 | 28 | use OCA\Deck\Db\BoardMapper; |
30 | 29 | use OCA\Deck\Service\PermissionService; |
31 | 30 | use OCP\AppFramework\Db\DoesNotExistException; |
@@ -34,7 +33,6 @@ discard block |
||
34 | 33 | use OCP\Collaboration\Resources\IManager; |
35 | 34 | use OCP\Collaboration\Resources\IProvider; |
36 | 35 | use OCP\Collaboration\Resources\IResource; |
37 | -use OCP\Collaboration\Resources\ResourceException; |
|
38 | 36 | use OCP\IUser; |
39 | 37 | |
40 | 38 | class ResourceProvider implements IProvider { |
@@ -33,7 +33,6 @@ |
||
33 | 33 | use OCP\AppFramework\Db\DoesNotExistException; |
34 | 34 | use OCP\AppFramework\Db\Entity; |
35 | 35 | use OCP\AppFramework\Db\MultipleObjectsReturnedException; |
36 | -use OCP\AppFramework\QueryException; |
|
37 | 36 | use OCP\IConfig; |
38 | 37 | use OCP\IGroupManager; |
39 | 38 | use OCP\ILogger; |
@@ -23,7 +23,6 @@ |
||
23 | 23 | |
24 | 24 | namespace OCA\Deck\Middleware; |
25 | 25 | |
26 | -use OCA\Deck\Controller\PageController; |
|
27 | 26 | use OCA\Deck\StatusException; |
28 | 27 | use OCP\AppFramework\Db\DoesNotExistException; |
29 | 28 | use OCP\AppFramework\Middleware; |