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]

(cherry picked from commit 410e6d0)
  • Loading branch information
sgyuris committed Oct 11, 2024
1 parent eb2c553 commit 11b2787
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 11b2787

Please sign in to comment.