Make sure cache module is loaded (#2387)
This commit is contained in:
parent
8756a2dd68
commit
fd1aac2bd1
|
@ -830,6 +830,7 @@ sub localUnlog {
|
|||
my $module = $class->tsv->{sessionCacheModule};
|
||||
my $options = $class->tsv->{sessionCacheOptions};
|
||||
my $cache = $module->new($options);
|
||||
eval "use $module;";
|
||||
if ( $cache->get($id) ) {
|
||||
$cache->remove($id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user