From 79f8349920dafb4a361fb05eb8ec984a8e8dfe5f 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. Signed-off-by: Brendan Gallagher --- 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.1.4