diff --git a/lib/Db/BoardMapper.php b/lib/Db/BoardMapper.php index a8eaa1c43..d4f0aba03 100644 --- a/lib/Db/BoardMapper.php +++ b/lib/Db/BoardMapper.php @@ -323,11 +323,6 @@ class BoardMapper extends DeckMapper implements IPermissionMapper { * Reset cache for a given board or a given user */ public function flushCache(?int $boardId = null, ?string $userId = null) { - if ($boardId) { - unset($this->boardCache[$boardId]); - } else { - $this->boardCache = null; - } if ($userId) { unset($this->userBoardCache[$userId]); } else {