Update lib/Controller/SessionController.php
Co-authored-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: chandi Langecker <git@chandi.it>
This commit is contained in:
committed by
chandi Langecker
parent
e1e29feb7b
commit
8007a06c94
@@ -84,7 +84,7 @@ class SessionController extends ApiController {
|
|||||||
* @param $boardId
|
* @param $boardId
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function close($boardId, $token) {
|
public function close(int $boardId, string $token) {
|
||||||
$this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ);
|
$this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ);
|
||||||
$this->sessionService->closeSession((int)$boardId, $token);
|
$this->sessionService->closeSession((int)$boardId, $token);
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user