repo.or.cz
/
koha.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 25958: (QA follow-up) Implement filter in database query instead of in loop
[koha.git]
/
misc
/
bin
/
clear_cache.pl
blob
3643d3273c2968655f6a6fa3fcdf54e6b8ed06fb
1
#!/usr/bin/perl -w
2
3
use
Modern
::
Perl
;
4
use
Koha
::
Caches
;
5
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
;