From caa4cccfa09cdf5c9816634194000307ac508578 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 8 May 2017 12:43:43 -0300 Subject: [PATCH] Bug 16758: Use the default cache instance I do not see a valid reason not to use the default one instead of the syspref one. Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- misc/migration_tools/rebuild_zebra.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/migration_tools/rebuild_zebra.pl b/misc/migration_tools/rebuild_zebra.pl index db04b11a29..28ce27ccdf 100755 --- a/misc/migration_tools/rebuild_zebra.pl +++ b/misc/migration_tools/rebuild_zebra.pl @@ -63,7 +63,7 @@ my $run_user = (getpwuid($<))[0]; my $wait_for_lock = 0; my $use_flock; my $table = 'biblioitems'; -my $is_memcached = Koha::Caches->get_instance('syspref')->memcached_cache; +my $is_memcached = Koha::Caches->get_instance->memcached_cache; my $verbose_logging = 0; my $zebraidx_log_opt = " -v none,fatal,warn "; -- 2.39.5