[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [1037] branches/1.2/LedgerSMB/AM.pm
- Subject: SF.net SVN: ledger-smb: [1037] branches/1.2/LedgerSMB/AM.pm
- From: ..hidden..
- Date: Fri, 06 Apr 2007 20:54:51 -0700
Revision: 1037
http://svn.sourceforge.net/ledger-smb/?rev=1037&view=rev
Author: linuxpoet
Date: 2007-04-06 20:54:50 -0700 (Fri, 06 Apr 2007)
Log Message:
-----------
changed from backtick to qx
Modified Paths:
--------------
branches/1.2/LedgerSMB/AM.pm
Modified: branches/1.2/LedgerSMB/AM.pm
===================================================================
--- branches/1.2/LedgerSMB/AM.pm 2007-04-07 03:52:02 UTC (rev 1036)
+++ branches/1.2/LedgerSMB/AM.pm 2007-04-07 03:54:50 UTC (rev 1037)
@@ -1623,7 +1623,7 @@
my $suffix = "";
if ($form->{media} eq 'email') {
- print OUT `PGPASSWD="$globalDBPassword" pg_dump -U $globalDBUserName -h $globalDBhost -Fc -p $globalDBport $globalDBname`;
+ print OUT qx(PGPASSWD="$globalDBPassword" pg_dump -U $globalDBUserName -h $globalDBhost -Fc -p $globalDBport $globalDBname);
close OUT;
use LedgerSMB::Mailer;
$mail = new Mailer;
@@ -1650,7 +1650,7 @@
print OUT qq|Content-Type: application/file;\n| .
qq|Content-Disposition: attachment; filename="$myconfig->{dbname}-$form->{dbversion}-$t[5]$t[4]$t[3].sql$suffix"\n\n|;
- print OUT `PGPASSWD="$globalDBPassword" pg_dump -U $globalDBUserName -h $globalDBhost -Fc -p $globalDBport $globalDBname`;
+ print OUT qx(PGPASSWD="$globalDBPassword" pg_dump -U $globalDBUserName -h $globalDBhost -Fc -p $globalDBport $globalDBname);
}
unlink "$tmpfile";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.