From a6728be10766d66891a3c0093847ceff13548dad 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 808ed8d..3d14e85 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -2743,6 +2743,7 @@ sub ModZebra { else { croak "ModZebra called with unknown operation: $op"; } + return; } my $dbh = C4::Context->dbh; -- 2.7.4