summaryrefslogtreecommitdiffstats
path: root/apis/taskmanager.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2014-06-23 18:07:32 +0200
committerSimon Rettberg2014-06-23 18:07:32 +0200
commit84de107d42acfbd22be43c5e766b89531fc53c3e (patch)
tree17ae0a6eb24ea7177d9f5148ef5f07419a0b8899 /apis/taskmanager.inc.php
parentminor (diff)
downloadslx-admin-84de107d42acfbd22be43c5e766b89531fc53c3e.tar.gz
slx-admin-84de107d42acfbd22be43c5e766b89531fc53c3e.tar.xz
slx-admin-84de107d42acfbd22be43c5e766b89531fc53c3e.zip
Get rid of pxe menu ip tracking, not needed in the future
Diffstat (limited to 'apis/taskmanager.inc.php')
-rw-r--r--apis/taskmanager.inc.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/apis/taskmanager.inc.php b/apis/taskmanager.inc.php
index f7ee6ac1..8365aac7 100644
--- a/apis/taskmanager.inc.php
+++ b/apis/taskmanager.inc.php
@@ -15,12 +15,6 @@ foreach ($_POST['ids'] as $id) {
continue;
}
$return[] = $status;
- // HACK HACK - should be pluggable
- if (isset($status['statusCode']) && $status['statusCode'] === TASK_FINISHED // iPXE Update
- && $id === Property::getIPxeTaskId() && Property::getServerIp() !== Property::getIPxeIp()) {
- Property::setIPxeIp(Property::getServerIp());
- }
- // -- END HACKS --
if (!isset($status['statusCode']) || ($status['statusCode'] !== TASK_WAITING && $status['statusCode'] !== TASK_PROCESSING)) {
Taskmanager::release($id);
}