diff options
author | Simon Rettberg | 2014-06-02 20:02:31 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-06-02 20:02:31 +0200 |
commit | 3b61c7568e7eeae048e04e76d2d6d65936e6734d (patch) | |
tree | c3589570fafb94905d3b1c16f558d5d8e4cd3498 /apis/taskmanager.inc.php | |
parent | Zeug (diff) | |
download | slx-admin-3b61c7568e7eeae048e04e76d2d6d65936e6734d.tar.gz slx-admin-3b61c7568e7eeae048e04e76d2d6d65936e6734d.tar.xz slx-admin-3b61c7568e7eeae048e04e76d2d6d65936e6734d.zip |
Fix tracking of js taskmanager poller status; remove obsolete hack from taskmanager php api backend
Diffstat (limited to 'apis/taskmanager.inc.php')
-rw-r--r-- | apis/taskmanager.inc.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apis/taskmanager.inc.php b/apis/taskmanager.inc.php index 7bb38a98..f7ee6ac1 100644 --- a/apis/taskmanager.inc.php +++ b/apis/taskmanager.inc.php @@ -20,10 +20,6 @@ foreach ($_POST['ids'] as $id) { && $id === Property::getIPxeTaskId() && Property::getServerIp() !== Property::getIPxeIp()) { Property::setIPxeIp(Property::getServerIp()); } - if (isset($status['statusCode']) && $status['statusCode'] === TASK_FINISHED // MiniLinux Version check - && $id === Property::getVersionCheckTaskId()) { - Property::setVersionCheckInformation(Property::getServerIp()); - } // -- END HACKS -- if (!isset($status['statusCode']) || ($status['statusCode'] !== TASK_WAITING && $status['statusCode'] !== TASK_PROCESSING)) { Taskmanager::release($id); |