Changeset 293 for trunk/dns.cgi
- Timestamp:
- 03/27/12 17:11:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r292 r293 974 974 975 975 } elsif ($webvar{del} eq 'ok') { 976 my $deleteme = groupName($dbh,$webvar{id}); # get this before we delete it...977 my $delparent = parentID($dbh, (id => $webvar{id}, type => 'group'));978 976 my ($code,$msg) = delGroup($dbh, $webvar{id}); 979 977 if ($code eq 'OK') { 980 978 ##fixme: need to clean up log when deleting a major container 981 logaction(0, $session->param("username"), $delparent, "Deleted group $deleteme"); 982 changepage(page => "grpman", resultmsg => "Deleted group $deleteme"); 979 changepage(page => "grpman", resultmsg => $msg); 983 980 } else { 984 981 # need to find failure mode 985 logaction(0, $session->param("username"), $delparent, "Failed to delete group $deleteme: $msg") 986 if $config{log_failures}; 987 changepage(page => "grpman", errmsg => "Error deleting group $deleteme: $msg"); 982 changepage(page => "grpman", errmsg => $msg); 988 983 } 989 984 } else {
Note:
See TracChangeset
for help on using the changeset viewer.