Bugzilla – Attachment 190663 Details for
Bug 41490
Duplicate variable definition warnings in `compare_es_to_db.pl`
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41490: Remove duplicated code from compare_es_to_db.pl
cb6e43b.patch (text/plain), 1.35 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-12-22 12:53:24 UTC
(
hide
)
Description:
Bug 41490: Remove duplicated code from compare_es_to_db.pl
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-12-22 12:53:24 UTC
Size:
1.35 KB
patch
obsolete
>From cb6e43bf623e97e5af1a43c78649a38dc01259c0 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Tom=C3=A1s=20Cohen=20Arazi?= <tomascohen@theke.io> >Date: Mon, 22 Dec 2025 09:52:30 -0300 >Subject: [PATCH] Bug 41490: Remove duplicated code from compare_es_to_db.pl >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io> >--- > misc/maintenance/compare_es_to_db.pl | 27 --------------------------- > 1 file changed, 27 deletions(-) > >diff --git a/misc/maintenance/compare_es_to_db.pl b/misc/maintenance/compare_es_to_db.pl >index c76ff85d28..b1edab1a75 100755 >--- a/misc/maintenance/compare_es_to_db.pl >+++ b/misc/maintenance/compare_es_to_db.pl >@@ -68,33 +68,6 @@ if ($help) { > exit; > } > >-my $help; >-my $fix; >- >-GetOptions( >- 'h|help' => \$help, >- 'f|fix' => \$fix, >-); >- >-my $usage = <<'ENDUSAGE'; >- >-This script finds differences between the records on the Koha database >-and the Elasticsearch index. >- >-The `--fix` option switch can be passed to try fixing them. >- >-This script has the following parameters : >- >- -f|--fix Try to fix errors >- -h|--help Print this message >- >-ENDUSAGE >- >-if ($help) { >- print $usage; >- exit; >-} >- > foreach my $index ( ('biblios','authorities') ) { > print "=================\n"; > print "Checking $index\n"; >-- >2.50.1 (Apple Git-155) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41490
: 190663