make psalm & linter happy
Signed-off-by: chandi Langecker <git@chandi.it>
This commit is contained in:
@@ -86,7 +86,7 @@ class SessionController extends ApiController {
|
|||||||
*/
|
*/
|
||||||
public function close(int $boardId, string $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($boardId, $token);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,8 +37,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar'
|
import { NcAvatar, Tooltip } from '@nextcloud/vue'
|
||||||
import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'SessionList',
|
name: 'SessionList',
|
||||||
|
|||||||
Reference in New Issue
Block a user