From f76eba322b1e957795e7ea637c02499513636aa0 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 d7aa89763c..364005c492 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