From e1fbffcf9957b02f6d916e02efe3ad0ee4d22a49 Mon Sep 17 00:00:00 2001 From: Mason James Date: Thu, 25 May 2017 05:32:44 +1200 Subject: [PATCH] Revert "Bug 16758: Use the default cache instance" This reverts commit 2203f7d39e4504cfefa2ecb6c160c8f5f0054e7b. --- 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 de73eb2331..fe84270b2a 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->memcached_cache; +my $is_memcached = Koha::Caches->get_instance('syspref')->memcached_cache; my $verbose_logging = 0; my $zebraidx_log_opt = " -v none,fatal,warn ";