Remove overTimeDataForwards

The FTL API has removed the underlying command and data.

Signed-off-by: Mark Drobnak <newtoncat12@yahoo.com>
This commit is contained in:
Mark Drobnak
2018-06-03 23:11:21 -04:00
committed by GitHub
parent 1278e8ec03
commit 117aaa071f
-17
View File
@@ -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");