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