From 9f31070b9c5c5e7e8aa7bafec6da171676b51583 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 13 Apr 2016 08:42:53 +1200 Subject: [PATCH] Bug 12478 : Remove reference to deprecated table elasticsearch_mapping.sql Signed-off-by: Nick Clemens Signed-off-by: Jesse Weaver Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall --- installer/data/mysql/updatedatabase.pl | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index e61de78418..8f7960c472 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -12256,16 +12256,6 @@ if ( $column_has_been_used ) { } -$DBversion = "XXX"; -if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { - my $installer = C4::Installer->new(); - my $full_path = C4::Context->config('intranetdir') . "/installer/data/$installer->{dbms}/elasticsearch_mapping.sql"; - my $error = $installer->load_sql($full_path); - warn $error if $error; - print "Upgrade to $DBversion done (Bug 12478 - set up elasticsearch tables)\n"; - SetVersion($DBversion); -} - $DBversion = "XXX"; if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { $dbh->do(q| -- 2.39.5