@@ -, +, @@ instanciate Koha::Cache object --- misc/plack/koha.psgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/misc/plack/koha.psgi +++ a/misc/plack/koha.psgi @@ -12,7 +12,7 @@ use CGI qw(-utf8 ); # we will lose -utf8 under plack *CGI::new = sub { my $q = $old_new->( @_ ); $CGI::PARAM_UTF8 = 1; - Koha::Cache->flush_L1_if_needed(); + Koha::Cache->get_instance->flush_L1_if_needed(); return $q; }; } --