remove redundant line
authorRogan Hamby <rhamby@esilibrary.com>
Thu, 31 May 2018 16:54:11 +0000 (12:54 -0400)
committerRogan Hamby <rhamby@esilibrary.com>
Thu, 31 May 2018 16:54:11 +0000 (12:54 -0400)
above_the_treeline/above_treeline_export.pl

index 8c89a26..0209692 100755 (executable)
@@ -139,7 +139,6 @@ if ($files =~ 'bib') {
 
 my $ftp; 
 if (defined $ftp_host and defined $ftp_user) {
-if (defined $ftp_host and defined $ftp_user) {
     $ftp = connect_ftp($ftp_host,$ftp_user,$ftp_password,$ftp_port,$ftp_folder);
     if ($files =~ 'item') { put_file($item_file,$ftp,$sql_date); }
     if ($files =~ 'circ') { put_file($circ_file,$ftp,$sql_date); }