From 2e18cca19f6d75427162b9d23923985248b45b88 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 Signed-off-by: Brendan Gallagher --- 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