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
memurats committed Mar 28, 2024
2 parents 26aff90 + 7839743 commit 054136d
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 054136d

Please sign in to comment.