projects
/
koha.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bug 28688: Add renewal to crontab example
[koha.git]
/
misc
/
bin
/
clear_cache.pl
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;