Update a few other references to use SessionData
This commit is contained in:
parent
3122343be7
commit
e14f788684
1 changed files with 2 additions and 2 deletions
|
@ -222,7 +222,7 @@ class StateMachine {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (send && settings.inst!.timer.enabled) {
|
if (send && SessionData.enableRestartTimer) {
|
||||||
// Send the alert message
|
// Send the alert message
|
||||||
SessionData.CURRENT_INTERVAL = current;
|
SessionData.CURRENT_INTERVAL = current;
|
||||||
if (current.type == WarnType.Intrusive) {
|
if (current.type == WarnType.Intrusive) {
|
||||||
|
@ -267,7 +267,7 @@ class StateMachine {
|
||||||
|
|
||||||
// Check Total Seconds
|
// Check Total Seconds
|
||||||
if (SessionData.timer.getTotalSeconds() == 0 &&
|
if (SessionData.timer.getTotalSeconds() == 0 &&
|
||||||
settings.inst!.timer.enabled) {
|
SessionData.enableRestartTimer) {
|
||||||
SessionData.shutdownPending = true;
|
SessionData.shutdownPending = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue