diff options
Diffstat (limited to 'FS/bin')
| -rwxr-xr-x | FS/bin/freeside-daily | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily index d8d36252e..ae71112dd 100755 --- a/FS/bin/freeside-daily +++ b/FS/bin/freeside-daily @@ -57,10 +57,8 @@ foreach $cust_main ( @cust_main ) {  if ( driver_name eq 'Pg' ) {    dbh->{AutoCommit} = 1; #so we can vacuum -  foreach my $statement ( 'vacuum', 'vacuum analyze' ) { -    my $sth = dbh->prepare($statement) or die dbh->errstr; -    $sth->execute or die $sth->errstr; -  } +  my $sth = dbh->prepare('vacuum analyze') or die dbh->errstr; +  $sth->execute or die $sth->errstr;  }  my $conf = new FS::Conf; | 
