From 84de107d42acfbd22be43c5e766b89531fc53c3e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 23 Jun 2014 18:07:32 +0200 Subject: Get rid of pxe menu ip tracking, not needed in the future --- apis/taskmanager.inc.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'apis/taskmanager.inc.php') 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); } -- cgit v1.2.3-55-g7522