- Timestamp:
- 03/02/12 16:40:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r257 r258 1092 1092 ($dom_id) = $dbh->selectrow_array("SELECT domain_id FROM domains WHERE domain=?", undef, ($domain)); 1093 1093 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}, 1095 1095 name => $userinfo{fullname}, entry => "Added ".($state ? 'active' : 'inactive')." domain $domain")); 1096 1096 … … 1107 1107 my @tmp1 = split /:/, $host; 1108 1108 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, 1110 1110 username => $userinfo{name}, name => $userinfo{fullname}, entry => 1111 1111 "[new $domain] Added SOA record [contact $tmp1[0]] [master $tmp1[1]] ". … … 1115 1115 $logentry .= " [distance $dist]" if $typemap{$type} eq 'MX'; 1116 1116 $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, 1118 1118 username => $userinfo{name}, name => $userinfo{fullname}, entry => 1119 1119 $logentry." $val', TTL $ttl"));
Note:
See TracChangeset
for help on using the changeset viewer.