diff --git a/src/Routes/Posts/Notes/DeletePostNote.php b/src/Routes/Posts/Notes/DeletePostNote.php index 1579fb63..04408b41 100644 --- a/src/Routes/Posts/Notes/DeletePostNote.php +++ b/src/Routes/Posts/Notes/DeletePostNote.php @@ -1,33 +1,21 @@ inputReader = $inputReader; - $this->postService = $postService; $this->postNotesService = $postNotesService; $this->privilegeService = $privilegeService; - $this->postNoteViewProxy = $postNoteViewProxy; } public function getMethods() diff --git a/src/Routes/Posts/Notes/UpdatePostNote.php b/src/Routes/Posts/Notes/UpdatePostNote.php index 11ee7825..c4468ae0 100644 --- a/src/Routes/Posts/Notes/UpdatePostNote.php +++ b/src/Routes/Posts/Notes/UpdatePostNote.php @@ -6,26 +6,22 @@ use Szurubooru\Helpers\InputReader; use Szurubooru\Privilege; use Szurubooru\Routes\Posts\AbstractPostRoute; use Szurubooru\Services\PostNotesService; -use Szurubooru\Services\PostService; use Szurubooru\Services\PrivilegeService; class UpdatePostNote extends AbstractPostRoute { private $inputReader; - private $postService; private $postNotesService; private $privilegeService; private $postNoteViewProxy; public function __construct( InputReader $inputReader, - PostService $postService, PostNotesService $postNotesService, PrivilegeService $privilegeService, PostNoteViewProxy $postNoteViewProxy) { $this->inputReader = $inputReader; - $this->postService = $postService; $this->postNotesService = $postNotesService; $this->privilegeService = $privilegeService; $this->postNoteViewProxy = $postNoteViewProxy;