From 11b27872744f026216f7d8a01bc25e2933242000 Mon Sep 17 00:00:00 2001 From: "szabolcs.gyuris" Date: Fri, 11 Oct 2024 09:31:24 +0000 Subject: [PATCH] Merge #261 [backport 28]fix: Avoid clear cache with prefix [maybe needed for 29] (cherry picked from commit 410e6d070ece349b7328fb4864f396aa5a03c624) --- lib/private/Collaboration/Reference/ReferenceManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Collaboration/Reference/ReferenceManager.php b/lib/private/Collaboration/Reference/ReferenceManager.php index a837651f1fec0..06f7ccc66bb5c 100644 --- a/lib/private/Collaboration/Reference/ReferenceManager.php +++ b/lib/private/Collaboration/Reference/ReferenceManager.php @@ -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 ?? '')); } /**