Fix string for update logging

This commit is contained in:
Jamie Cameron
2024-07-23 21:57:32 -07:00
parent c15bbca109
commit 8c5fcef916
3 changed files with 4 additions and 4 deletions

View File

@ -103,7 +103,7 @@ sched_yes=Scheduled checking for updates is now active.
sched_no=Scheduled checking for updates has been disabled.
log_update=Installed $1 updated packages
log_sched=Background installed $1 updated packages
log_schedup=Background installed $1 updated packages
log_sched=Enabled scheduled updates
log_unsched=Disabled scheduled updates
log_refresh=Refreshed available packages

View File

@ -18,8 +18,8 @@ elsif ($type eq 'repo') {
elsif ($action eq 'update') {
return &text('log_update', $object);
}
elsif ($action eq 'sched') {
return &text('log_sched', $object);
elsif ($action eq 'schedup') {
return &text('log_schedup', $object);
}
elsif ($action eq 'sched') {
return $text{$object ? 'log_sched' : 'log_unsched'};

View File

@ -74,5 +74,5 @@ if ($config{'sched_email'} && $body) {
# Log the update, if anything was installed
if ($icount) {
&webmin_log("sched", "packages", $icount);
&webmin_log("schedup", "packages", $icount);
}