summaryrefslogtreecommitdiffstats
path: root/apis
diff options
context:
space:
mode:
authorSimon Rettberg2014-06-02 20:02:31 +0200
committerSimon Rettberg2014-06-02 20:02:31 +0200
commit3b61c7568e7eeae048e04e76d2d6d65936e6734d (patch)
treec3589570fafb94905d3b1c16f558d5d8e4cd3498 /apis
parentZeug (diff)
downloadslx-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')
-rw-r--r--apis/taskmanager.inc.php4
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);