Skip to content

Commit

Permalink
Merge #261 [backport 28]fix: Avoid clear cache with prefix [maybe nee…
Browse files Browse the repository at this point in the history
…ded for 29]
  • Loading branch information
sgyuris committed Jul 23, 2024
2 parents bc0a335 + 7839743 commit 410e6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Collaboration/Reference/ReferenceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function invalidateCache(string $cachePrefix, ?string $cacheKey = null):
return;
}

$this->cache->remove(md5($cachePrefix) . '-' . md5($cacheKey));
$this->cache->remove(md5($cachePrefix) . '-' . md5($cacheKey ?? ''));
}

/**
Expand Down

0 comments on commit 410e6d0

Please sign in to comment.