Jonathan Druart
4de2185614
When languages are added or removed when need to flush the caches to keep the interface consistent Signed-off-by: Liz Rea <wizzyrea@gmail.com> Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
9 lines
238 B
Perl
Executable file
9 lines
238 B
Perl
Executable file
#!/usr/bin/perl -w
|
|
|
|
use Modern::Perl;
|
|
use Koha::Caches;
|
|
|
|
# Could take parameters to be less rude
|
|
Koha::Caches->get_instance()->flush_all;
|
|
Koha::Caches->get_instance('config')->flush_all;
|
|
Koha::Caches->get_instance('sysprefs')->flush_all;
|