From a7f0bd94d1adc7f3e42e5fe9592cbec2fef3b79f Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Fri, 10 Oct 2014 17:37:09 +0200 Subject: [PATCH] Bug 13068 follow-up Removing 2 lines of dead code Signed-off-by: Brendan Gallagher --- installer/data/mysql/updatedatabase.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index f6937de..56af05d 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -8791,12 +8791,10 @@ while (readdir $dirh) { next unless $_ =~ /\.sql$/; # skip non SQL files # open and read file; open FILE, "<", C4::Context->config('intranetdir') . '/installer/data/mysql/db_update/'.$_ or die "ERROR, impossible to open $_"; - my $sql_to_execute; while ( ) { my $line = $_; $line =~ s/\n//g; $dbh->do($line) if $line; - $sql_to_execute .= $line; } } -- 1.7.10.4