chore: Remove some unused methods
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user