fix: Skip individual board caches when listing all boards

Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
Julius Knorr
2025-01-02 18:10:36 +01:00
parent 75be929077
commit 047fcb6584
5 changed files with 10 additions and 13 deletions

View File

@@ -95,14 +95,6 @@ class BoardService {
* @return Board[]
*/
public function findAll(int $since = -1, bool $fullDetails = false, bool $includeArchived = true): array {
if ($this->boardsCacheFull && $fullDetails) {
return $this->boardsCacheFull;
}
if ($this->boardsCachePartial && !$fullDetails) {
return $this->boardsCachePartial;
}
$complete = $this->getUserBoards($since, $includeArchived);
return $this->enrichBoards($complete, $fullDetails);
}