forked from hummypkg/webif
Log schedule operations correctly
This commit is contained in:
parent
c60ac50c43
commit
bed05f0820
@ -702,7 +702,16 @@ rsv method insert {{table pending} {force 0} {defer 0}} {
|
||||
$rsvdb query "delete from ${table} where ulslot = $ulslot;"
|
||||
$rsvdb query $query {*}$bvals
|
||||
|
||||
set actstr [format "%scheduled" $($action ? "Uns" : "S")]
|
||||
switch $action {
|
||||
0 { set actstr "Scheduled" }
|
||||
1 { set actstr "Unscheduled" }
|
||||
2 { set actstr "Set AR" }
|
||||
3 { set actstr "Set padding" }
|
||||
4 { set actstr "Set folder name" }
|
||||
5 { set actstr "Set skip" }
|
||||
6 { set actstr "Refresh" }
|
||||
default { set actstr "Unknown action $action" }
|
||||
}
|
||||
system plog activity "$actstr [$self name] @ $nsttime"
|
||||
|
||||
if {$table eq "pending" && !$defer} { rsv commit }
|
||||
|
Loading…
Reference in New Issue
Block a user