mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge branch 'develop' of github.com:invoiceninja/invoiceninja into develop
This commit is contained in:
commit
517804f987
@ -146,6 +146,8 @@ class TaskRepository extends BaseRepository
|
||||
} elseif ($data['action'] == 'stop' && $task->is_running) {
|
||||
$timeLog[count($timeLog) - 1][1] = time();
|
||||
$task->is_running = false;
|
||||
} elseif ($data['action'] == 'offline'){
|
||||
$task->is_running = $data['is_running'] ? 1 : 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user