2 # Functions for parsing this module's logs
4 do 'package-updates-lib.pl';
6 # parse_webmin_log(user, script, action, type, object, ¶ms)
7 # Converts logged information from this module into human-readable form
10 my ($user, $script, $action, $type, $object, $p) = @_;
11 if ($action eq 'update') {
12 return &text('log_update', $object);
14 elsif ($action eq 'sched') {
15 return $text{$object ? 'log_sched' : 'log_unsched'};
17 elsif ($action eq 'refresh') {
18 return $text{'log_refresh'};