summaryrefslogtreecommitdiff
path: root/LedgerSMB/AM.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/AM.pm')
-rwxr-xr-xLedgerSMB/AM.pm6
1 files changed, 0 insertions, 6 deletions
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 = "";