Ignore:
Timestamp:
01/31/10 19:36:45 (2 years ago)
Author:
benedikt
Message:
  • Fixed #2086: DNS not working properly
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/engine/ispcp-alssub-mngr

    r2505 r2568  
    28042804                ($rs, $rdata) = doSQL($sql); 
    28052805                return $rs if ($rs != 0); 
    2806  
     2806        } elsif ($sub_status eq 'dnschange') {     
     2807                $rs = alssub_change_named_data($entry); 
     2808                $timestamp = time(); 
     2809                if ($rs == 0) { 
     2810                        $sql = "update subdomain_alias set subdomain_alias_status='ok' where subdomain_alias_id = $sub_id;"; 
     2811                } else { 
     2812                        my ($sub_name, $msg) = split(/$main::el_sep/, pop_el(\@main::el)); 
     2813                        $msg =~ s/\'/\\\'/g; 
     2814                        $sql = "update subdomain_alias set subdomain_alias_status='$sub_name | $msg' where subdomain_alias_id = $sub_id;"; 
     2815                } 
     2816                ($rs, $rdata) = doSQL($sql); 
     2817                return $rs if ($rs != 0); 
    28072818        } elsif ($sub_status eq 'delete') { 
    28082819 
Note: See TracChangeset for help on using the changeset viewer.