chore: Remove some unused methods

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2023-02-16 18:07:10 +01:00
parent afcd226be8
commit 29d21e05e8
2 changed files with 3 additions and 21 deletions

View File

@@ -177,23 +177,12 @@ class BoardService {
/** @var Board $board */
$board = $this->boardMapper->find($boardId, true, true);
[$board] = array_values($this->enrichBoards([$board], $fullDetails));
$this->boardsCache[$boardId] = $board;
if ($fullDetails) {
$this->boardsCache[$boardId] = $board;
}
return $board;
}
/**
* @return array
*/
private function getBoardPrerequisites() {
$groups = $this->groupManager->getUserGroupIds(
$this->userManager->get($this->userId)
);
return [
'user' => $this->userId,
'groups' => $groups
];
}
/**
* @param $mapper
* @param $id
@@ -713,10 +702,6 @@ class BoardService {
return $this->urlGenerator->linkToRouteAbsolute('deck.page.index') . '#' . $endpoint;
}
private function clearBoardsCache() {
$this->boardsCache = null;
}
/**
* Clean a given board data from the Cache
*/