Skip to content

Commit

Permalink
Merge #258 [backport 27]fix: Avoid clear cache with prefix [maybe nee…
Browse files Browse the repository at this point in the history
…ded for 28]
  • Loading branch information
sgyuris committed Apr 25, 2024
2 parents 8de27b4 + 6bcc2ad commit 8020956
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 @@ -203,7 +203,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 8020956

Please sign in to comment.