Skip to content

Commit 2b67016

Browse files
caching
1 parent 21f2133 commit 2b67016

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Modules/CIPPCore/Public/TenantGroups/Get-TenantGroups.ps1

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,8 @@ function Get-TenantGroups {
3232
[string]$TenantFilter,
3333
[switch]$Dynamic
3434
)
35-
36-
# Build cache key for result caching
3735
$CacheKey = "$GroupId|$TenantFilter|$($Dynamic.IsPresent)"
3836

39-
# Return cached result if available
4037
if ($script:TenantGroupsResultCache.ContainsKey($CacheKey)) {
4138
Write-Verbose "Returning cached result for: $CacheKey"
4239
return $script:TenantGroupsResultCache[$CacheKey]

0 commit comments

Comments
 (0)