https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20745 --- Comment #9 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #8)
heh, it's missing :)
--- a/misc/migration_tools/rebuild_zebra.pl +++ b/misc/migration_tools/rebuild_zebra.pl @@ -242,9 +242,14 @@ if ($daemon_mode) { if (_flock($LockFH, LOCK_EX|LOCK_NB)) { eval { $dbh = C4::Context->dbh; - if( zebraqueue_not_empty() ) { - Koha::Caches->flush_L1_caches() if $is_memcached; - do_one_pass(); + if ( C4::Context->preference('Version') ) { + if( zebraqueue_not_empty() ) { + Koha::Caches->flush_L1_caches() if $is_memcached; + do_one_pass(); + } + } + else { + warn "Warning: Koha is not installed."; } -- You are receiving this mail because: You are watching all bug changes.