Bug 26922: Regression tests
[koha.git] / misc / bin / clear_cache.pl
blob3643d3273c2968655f6a6fa3fcdf54e6b8ed06fb
1 #!/usr/bin/perl -w
3 use Modern::Perl;
4 use Koha::Caches;
6 # Could take parameters to be less rude
7 Koha::Caches->get_instance()->flush_all;
8 Koha::Caches->get_instance('config')->flush_all;
9 Koha::Caches->get_instance('sysprefs')->flush_all;