From 0d97f63d229f42b44f7593f228aea2463365b5d2 Mon Sep 17 00:00:00 2001 From: linuxpoet Date: Sat, 7 Apr 2007 04:00:30 +0000 Subject: removed further depcreation from tmpfile and gz git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1038 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/AM.pm | 6 ------ 1 file changed, 6 deletions(-) (limited to 'LedgerSMB/AM.pm') diff --git a/LedgerSMB/AM.pm b/LedgerSMB/AM.pm index cb7d4ee7..694275a3 100755 --- a/LedgerSMB/AM.pm +++ b/LedgerSMB/AM.pm @@ -1605,7 +1605,6 @@ sub backup { my $boundary = time; my $tmpfile = "${LedgerSMB::Sysconfig::backuppath}/$boundary.$globalDBname-$form->{dbversion}-$t[5]$t[4]$t[3].sql"; - $tmpfile .= ".gz" if ${LedgerSMB::Sysconfig::gzip}; $form->{OUT} = "$tmpfile"; open(OUT, '>', "$form->{OUT}") or $form->error("$form->{OUT} : $!"); @@ -1614,11 +1613,6 @@ sub backup { my $today = scalar localtime; - $myconfig->{dbhost} = 'localhost' unless $myconfig->{dbhost}; - - $ENV{PGPASSWD} = $myconfig->{dbpasswd}; - # drop tables and sequences - # compress backup if gzip defined my $suffix = ""; -- cgit v1.2.3