diff options
Diffstat (limited to 'apis/taskmanager.inc.php')
-rw-r--r-- | apis/taskmanager.inc.php | 6 |
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); } |