purgeLocalCache can't (and shouldn't) purge local configuration cache
Concerned version
Version: %1.4.0 and earlier
Platform: any
Summary
Since the split of config/sessions local cache, purgeLocalCache doesn't purge local config cache: localStorage values are stored in [configuration]
section while purgeLocalCache reads only [all]
and [handler]
, so it never launch this part. Anyway, it shouldn't parse this directory: configuration object is stored without lifetime and keep always the same name ("conf").
Possible fixes
Just remove this test
# Handler cache
if ( $conf->{localStorage} ) {
eval "require $conf->{localStorage}";
$conf->{localStorageOptions}->{default_expires_in} ||= 600;
my $c = $conf->{localStorage}->new( $conf->{localStorageOptions} );
$c->purge();
}