From 7b612471a2faeae56e0793fe16643d4cd5398cf1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 30 Jul 2025 15:56:25 +0200 Subject: [PATCH] Bug 40554: unsafe not used in set_in_cache --- Koha/Cache.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/Koha/Cache.pm b/Koha/Cache.pm index 311743847ee..59c48d99893 100644 --- a/Koha/Cache.pm +++ b/Koha/Cache.pm @@ -160,8 +160,6 @@ instance of C and follow the same interface as L. sub set_in_cache { my ( $self, $key, $value, $options ) = @_; - my $unsafe = $options->{unsafe} || 0; - # the key mustn't contain whitespace (or control characters) for memcache # but shouldn't be any harm in applying it globally. $key =~ s/[\x00-\x20]/_/g; -- 2.34.1