@@ -492,11 +492,7 @@ class BoardMapper extends QBMapper implements IPermissionMapper {
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset Cache for a
|
||||
* given board or a given user
|
||||
*
|
||||
* @param int|null $boardId
|
||||
* @param int|null $userId
|
||||
* Reset cache for a given board or a given user
|
||||
*/
|
||||
public function flushCache(?int $boardId = null, ?string $userId = null)
|
||||
{
|
||||
|
||||
@@ -729,10 +729,7 @@ class BoardService {
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean a given board data
|
||||
* from the Cache
|
||||
*
|
||||
* @param OCA\Deck\Db\Board $board
|
||||
* Clean a given board data from the Cache
|
||||
*/
|
||||
private function clearBoardFromCache(Board $board) {
|
||||
$boardId = $board->getId();
|
||||
|
||||
Reference in New Issue
Block a user