Changeset 258


Ignore:
Timestamp:
03/02/12 16:40:32 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

Still missed a couple pieces in r257. See #26

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r257 r258  
    10921092    ($dom_id) = $dbh->selectrow_array("SELECT domain_id FROM domains WHERE domain=?", undef, ($domain));
    10931093
    1094     _log($dbh, (domain => $dom_id, user_id => $userinfo{id}, group_id => $group, username => $userinfo{name},
     1094    _log($dbh, (domain_id => $dom_id, user_id => $userinfo{id}, group_id => $group, username => $userinfo{name},
    10951095                name => $userinfo{fullname}, entry => "Added ".($state ? 'active' : 'inactive')." domain $domain"));
    10961096
     
    11071107        my @tmp1 = split /:/, $host;
    11081108        my @tmp2 = split /:/, $val;
    1109         _log($dbh, (domain => $dom_id, user_id => $userinfo{id}, group_id => $group,
     1109        _log($dbh, (domain_id => $dom_id, user_id => $userinfo{id}, group_id => $group,
    11101110                username => $userinfo{name}, name => $userinfo{fullname}, entry =>
    11111111                "[new $domain] Added SOA record [contact $tmp1[0]] [master $tmp1[1]] ".
     
    11151115        $logentry .= " [distance $dist]" if $typemap{$type} eq 'MX';
    11161116        $logentry .= " [priority $dist] [weight $weight] [port $port]" if $typemap{$type} eq 'SRV';
    1117         _log($dbh, (domain => $dom_id, user_id => $userinfo{id}, group_id => $group,
     1117        _log($dbh, (domain_id => $dom_id, user_id => $userinfo{id}, group_id => $group,
    11181118                username => $userinfo{name}, name => $userinfo{fullname}, entry =>
    11191119                $logentry." $val', TTL $ttl"));
Note: See TracChangeset for help on using the changeset viewer.