From 0c47ed0f23974a185dce18e72da6b50d033684e1 Mon Sep 17 00:00:00 2001 From: Ere Maijala Date: Tue, 3 Jul 2018 14:13:41 +0300 Subject: [PATCH] Bug 20244: Do not add records to zebraqueue when Elasticsearch is active https://bugs.koha-community.org/show_bug.cgi?id=20244 Otherwise the table will just keep growing. Test plan: 1. Add or edit some biblio records. 2. Verify in the database that they were not added to the zebraqueue table. 3. Verify that the changes are still reflected in the Elasticsearch index. --- C4/Biblio.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 0c5a917..12e53ef 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -2745,6 +2745,7 @@ sub ModZebra { else { croak "ModZebra called with unknown operation: $op"; } + return; } my $dbh = C4::Context->dbh; -- 2.7.4