@@ -23,10 +23,7 @@ discard block |
||
| 23 | 23 | |
| 24 | 24 | namespace OCA\NextNote\Controller; |
| 25 | 25 | |
| 26 | -use OCA\NextNote\Db\Notebook; |
|
| 27 | -use OCA\NextNote\Fixtures\ShareFix; |
|
| 28 | 26 | use OCA\NextNote\Service\NotebookService; |
| 29 | -use OCA\NextNote\Service\NoteService; |
|
| 30 | 27 | use OCA\NextNote\ShareBackend\NextNoteShareBackend; |
| 31 | 28 | use OCA\NextNote\Utility\NotFoundJSONResponse; |
| 32 | 29 | use OCA\NextNote\Utility\UnauthorizedJSONResponse; |
@@ -38,7 +35,6 @@ discard block |
||
| 38 | 35 | use OCP\ILogger; |
| 39 | 36 | use \OCP\IRequest; |
| 40 | 37 | use OCP\IUserManager; |
| 41 | -use OCP\Share; |
|
| 42 | 38 | |
| 43 | 39 | |
| 44 | 40 | class NotebookApiController extends ApiController { |
@@ -62,7 +62,6 @@ |
||
| 62 | 62 | * @NoCSRFRequired |
| 63 | 63 | * @TODO Add etag / lastmodified |
| 64 | 64 | * @param int|bool $deleted |
| 65 | - * @param string|bool $group |
|
| 66 | 65 | * @return JSONResponse |
| 67 | 66 | */ |
| 68 | 67 | public function index($deleted = false, $notebook_id = false) { |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | 83 | * @param $userId |
| 84 | - * @param int|bool $deleted |
|
| 84 | + * @param integer $deleted |
|
| 85 | 85 | * @param string|bool $group |
| 86 | 86 | * @return Note[] if not found |
| 87 | 87 | */ |
@@ -23,9 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | namespace OCA\NextNote\Service; |
| 25 | 25 | |
| 26 | -use OCA\NextNote\Db\Notebook; |
|
| 27 | 26 | use OCA\NextNote\Db\Note; |
| 28 | -use OCA\NextNote\Fixtures\ShareFix; |
|
| 29 | 27 | use OCA\NextNote\ShareBackend\NextNoteShareBackend; |
| 30 | 28 | use OCA\NextNote\Utility\Utils; |
| 31 | 29 | use OCA\NextNote\Db\NoteMapper; |