From 2142ec4a95aaaee1c4b6f37f6acbbf8fe60d8b21 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 --- 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 e2c89e6..070b564 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -8792,12 +8792,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.9.1