Ignore:
Timestamp:
02/02/10 03:33:35 (2 years ago)
Author:
nuxwin
Message:
  • Synchronization with trunk
Location:
branches/2188
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2188

  • branches/2188/engine/ispcp-sub-mngr

    r2505 r2572  
    27512751                ($rs, $rdata) = doSQL($sql); 
    27522752                return $rs if ($rs != 0); 
    2753  
     2753                 
     2754        } elsif ($sub_status eq 'dnschange'){ 
     2755                $rs = sub_change_named_data($entry); 
     2756                $timestamp = time(); 
     2757                if ($rs == 0) { 
     2758                        $sql = "update subdomain set subdomain_status='ok' where subdomain_id = $sub_id;"; 
     2759                } else { 
     2760                        my ($sub_name, $msg) = split(/$main::el_sep/, pop_el(\@main::el)); 
     2761                        $msg =~ s/\'/\\\'/g; 
     2762                        $sql = "update subdomain set subdomain_status='$sub_name | $msg' where subdomain_id = $sub_id;"; 
     2763                } 
     2764                ($rs, $rdata) = doSQL($sql); 
     2765                return $rs if ($rs != 0); 
    27542766        } elsif ($sub_status eq 'delete') { 
    27552767 
Note: See TracChangeset for help on using the changeset viewer.