Changeset 292 for trunk/dns.cgi


Ignore:
Timestamp:
03/27/12 16:48:55 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

Move action logging for addGroup() into DNSDB.pm. See #35

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r291 r292  
    933933    my ($code,$msg) = addGroup($dbh, $webvar{newgroup}, $webvar{pargroup}, \%newperms);
    934934    if ($code eq 'OK') {
    935       logaction(0, $session->param("username"), $webvar{pargroup}, "Added group $webvar{newgroup}");
    936935      if ($alterperms) {
    937936        changepage(page => "grpman", warnmsg =>
     
    941940      }
    942941    } # fallthrough else
    943     logaction(0, $session->param("username"), $webvar{pargroup}, "Failed to add group $webvar{newgroup}: $msg")
    944         if $config{log_failures};
    945942    # no point in doing extra work
    946943    fill_permissions($page, \%newperms);
Note: See TracChangeset for help on using the changeset viewer.