projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 20248: (QA follow-up) Remove unnecessary stuff
[koha.git]
/
admin
/
searchengine
/
elasticsearch
/
mappings.pl
diff --git
a/admin/searchengine/elasticsearch/mappings.pl
b/admin/searchengine/elasticsearch/mappings.pl
index
12219d3
..
ecd8741
100755
(executable)
--- a/
admin/searchengine/elasticsearch/mappings.pl
+++ b/
admin/searchengine/elasticsearch/mappings.pl
@@
-97,7
+97,7
@@
if ( $op eq 'edit' ) {
$schema->storage->txn_commit;
}
}
-elsif( $op eq 'reset
' || $op eq 'reset
_confirmed' ) {
+elsif( $op eq 'reset_confirmed' ) {
Koha::SearchMarcMaps->delete;
Koha::SearchFields->delete;
Koha::SearchEngine::Elasticsearch->reset_elasticsearch_mappings;