From 117aaa071f5f4db51a9718115deaac3bc2b39758 Mon Sep 17 00:00:00 2001 From: Mark Drobnak Date: Sun, 3 Jun 2018 23:11:21 -0400 Subject: [PATCH] Remove overTimeDataForwards The FTL API has removed the underlying command and data. Signed-off-by: Mark Drobnak --- api_FTL.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/api_FTL.php b/api_FTL.php index d2966f34..f677d55c 100644 --- a/api_FTL.php +++ b/api_FTL.php @@ -290,23 +290,6 @@ else unset($data); } - if (isset($_GET['overTimeDataForwards']) && $auth) - { - sendRequestFTL("ForwardedoverTime"); - $return = getResponseFTL(); - $over_time = array(); - - foreach($return as $line) - { - $tmp = explode(" ",$line); - for ($i=0; $i < count($tmp)-1; $i++) { - $over_time[intval($tmp[0])][$i] = floatval($tmp[$i+1]); - } - } - $result = array('over_time' => $over_time); - $data = array_merge($data, $result); - } - if (isset($_GET['getForwardDestinationNames']) && $auth) { sendRequestFTL("forward-names");