@@ -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; |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | namespace OCA\Deck\Middleware; |
| 25 | 25 | |
| 26 | 26 | use OCA\Deck\StatusException; |
| 27 | -use OCA\Deck\BadRequestException; |
|
| 28 | 27 | use OCP\AppFramework\Db\DoesNotExistException; |
| 29 | 28 | use OCP\AppFramework\Middleware; |
| 30 | 29 | use OCP\AppFramework\Http\JSONResponse; |
@@ -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 | |
@@ -42,7 +42,6 @@ |
||
| 42 | 42 | use OCP\FullTextSearch\Model\ISearchResult; |
| 43 | 43 | use OCP\FullTextSearch\Model\SearchTemplate; |
| 44 | 44 | use OCP\IL10N; |
| 45 | -use OCP\IURLGenerator; |
|
| 46 | 45 | |
| 47 | 46 | |
| 48 | 47 | /** |