Fix logging of multiple user / group deletion
authorJamie Cameron <jcameron@webmin.com>
Sun, 6 Jun 2010 19:06:30 +0000 (12:06 -0700)
committerJamie Cameron <jcameron@webmin.com>
Sun, 6 Jun 2010 19:06:30 +0000 (12:06 -0700)
useradmin/lang/en
useradmin/log_parser.pl

index 1d8b090..db19b4b 100644 (file)
@@ -363,6 +363,8 @@ log_gbatch=Executed group batch file $1
 log_gbatch_l=Executed group batch file $1 ($2 created, $3 modified, $4 deleted)
 log_ugbatch=Executed uploaded group batch file
 log_ugbatch_l=Executed uploaded group batch file ($1 created, $2 modified, $3 deleted)
+log_delete_users=Deleted $1 users
+log_delete_groups=Deleted $1 groups
 
 batch_title=Execute Batch File
 batch_ecannot=You cannot use the batch file form
index 0984192..c85f347 100755 (executable)
@@ -51,5 +51,8 @@ elsif ($action eq 'batch' || $action eq 'gbatch') {
                             $p->{'created'}, $p->{'modified'},$p->{'deleted'});
                }
        }
+elsif ($type eq 'users' || $type eq 'groups') {
+       return &text('log_'.$action.'_'.$type, $object);
+       }
 return undef;
 }