From 2203f7d39e4504cfefa2ecb6c160c8f5f0054e7b 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 (cherry picked from commit caa4cccfa09cdf5c9816634194000307ac508578) Signed-off-by: Katrin Fischer --- 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 fe84270b2a..de73eb2331 100755 --- a/misc/migration_tools/rebuild_zebra.pl +++ b/misc/migration_tools/rebuild_zebra.pl @@ -64,7 +64,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.20.1