Merge pull request #6916 from nextcloud/perf/dont-enrich-calendar-entries
perf: don't enrich cards when finding calendar entries
This commit is contained in:
@@ -159,9 +159,7 @@ class CardService {
|
|||||||
$this->logger->error('Unable to check permission for a previously obtained board ' . $boardId, ['exception' => $e]);
|
$this->logger->error('Unable to check permission for a previously obtained board ' . $boardId, ['exception' => $e]);
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
$cards = $this->cardMapper->findCalendarEntries($boardId);
|
return $this->cardMapper->findCalendarEntries($boardId);
|
||||||
$this->enrichCards($cards);
|
|
||||||
return $cards;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user