Changeset 455 for trunk/cgi-bin/main.cgi


Ignore:
Timestamp:
07/30/10 15:40:36 (14 years ago)
Author:
Kris Deugau
Message:

/trunk

Remove reference to legacy oldcustid field - leftovers from a
billing system transition. See #26.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/main.cgi

    r442 r455  
    997997  # because I'm lazy, we'll try to make the SELECT's bring out identical)ish) data
    998998  if ($webvar{block} =~ /\/32$/) {
    999     $sql = "select ip,custid,type,city,circuitid,description,notes,modifystamp,privdata,oldcustid from poolips where ip='$webvar{block}'";
     999    $sql = "select ip,custid,type,city,circuitid,description,notes,modifystamp,privdata from poolips where ip='$webvar{block}'";
    10001000  } else {
    1001     $sql = "select cidr,custid,type,city,circuitid,description,notes,modifystamp,privdata,oldcustid,swip from allocations where cidr='$webvar{block}'"
     1001    $sql = "select cidr,custid,type,city,circuitid,description,notes,modifystamp,privdata,swip from allocations where cidr='$webvar{block}'"
    10021002  }
    10031003
     
    10741074  }
    10751075## end node hack
    1076     $html =~ s/\$\$OLDCUSTID\$\$/$data[9]/g;
    10771076    $html =~ s/\$\$CITY\$\$/<input type=text name=city value="$data[3]">/g;
    10781077    $html =~ s/\$\$CIRCID\$\$/<input type="text" name="circid" value="$data[4]" maxlength=64 size=64 class="regular">/g;
     
    10921091## end node hack
    10931092    $html =~ s/\$\$CUSTID\$\$/$data[1]/g;
    1094     $html =~ s/\$\$OLDCUSTID\$\$/$data[9]/g;
    10951093    $html =~ s/\$\$TYPESELECT\$\$/$disp_alloctypes{$data[2]}/g;
    10961094    $html =~ s/\$\$CITY\$\$/$data[3]/g;
Note: See TracChangeset for help on using the changeset viewer.