Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Jan 19, 2024
1 parent d3212e7 commit 3b74372
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/models/UserGroupCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ private function _getUserGroups(): array

private function _getAllGroups(bool $cache = false): array
{
$allGroups = [];

if ($cache) {
$cacheService = Craft::$app->getCache();
$cacheKey = self::CACHE_KEY;
Expand Down

0 comments on commit 3b74372

Please sign in to comment.