Ignore:
Timestamp:
04/03/06 16:20:54 (18 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Extra code changes required for new billing system rollout. Note that references
to oldcustid can be removed later; this field is NOT required long-term.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/cgi-bin/CustIDCK.pm

    r310 r318  
    4949
    5050    eval {
    51       $dbh = DBI->connect ("DBI:Pg:host=newbilling;dbname=custids", "cidcheck", "c1dch4ck");
    52       die "failed connection to newbilling!!" if !$dbh;
     51      $dbh = DBI->connect ("DBI:Pg:host=billing;dbname=custids", "cidcheck", "c1dch4ck");
     52      die "failed connection to billing!!" if !$dbh;
    5353# Not certain if this is needed here.  It doesn't seem to be.
    5454#      $dbh->ping;      # Gotta do this to "force" a "failure".  NRGH.
     
    5858  };
    5959  alarm 0;      # avoid race conditions.  May not be needed here.  (Hah!)
    60   if ($@ && $@ !~ /failed connection to newbilling!!/) {
     60  if ($@ && $@ !~ /failed connection to billing!!/) {
    6161    $CustIDCK::Error = 1;
    62     $CustIDCK::ErrMsg = "Failed connection to newbilling DB host!  Unable to verify CustIDs.";
     62    $CustIDCK::ErrMsg = "Failed connection to billing DB host!  Unable to verify CustIDs.";
    6363    return 0;
    6464  }
Note: See TracChangeset for help on using the changeset viewer.