Bug 17189: Add the ability to define several memcached namespaces - Koha::Caches
[koha.git] / misc / plack / koha.psgi
index 20c6ca8..e24df26 100644 (file)
@@ -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_cache();
+        Koha::Caches->flush_L1_caches();
         Koha::Cache::Memory::Lite->flush();
         return $q;
     };
@@ -46,7 +46,7 @@ use C4::XSLT;
 use C4::Branch;
 use C4::Category;
 use Koha::DateUtils;
-use Koha::Cache;
+use Koha::Caches;
 use Koha::Cache::Memory::Lite;
 =for preload
 use C4::Tags; # FIXME