From 8c514c01aa4d620aea084beca3f4808270671f7e Mon Sep 17 00:00:00 2001 From: Shadify Date: Fri, 1 Dec 2017 09:59:15 +0100 Subject: wrote test case + cleaned up main page --- src/AppBundle/Controller/HomeController.php | 1 - 1 file changed, 1 deletion(-) (limited to 'src/AppBundle/Controller/HomeController.php') diff --git a/src/AppBundle/Controller/HomeController.php b/src/AppBundle/Controller/HomeController.php index d8234cf..0cfe2ab 100644 --- a/src/AppBundle/Controller/HomeController.php +++ b/src/AppBundle/Controller/HomeController.php @@ -51,7 +51,6 @@ class HomeController extends Controller $data['TimeStamp'] = gmdate("l jS \of F Y h:i:s A", $data['TimeStamp']); $arr = []; - print_r($data); $CO = is_nan($aqi->calculateAQI("Co", $data['Co'], $tableObj)) ? 0 : $aqi->calculateAQI("Co", $data['Co'], $tableObj); $SO = is_nan($aqi->calculateAQI("So", $data['So'], $tableObj)) ? 0 : $aqi->calculateAQI("So", $data['So'], $tableObj); $NO = is_nan($aqi->calculateAQI("No", $data['No'], $tableObj)) ? 0 : $aqi->calculateAQI("No", $data['No'], $tableObj); -- cgit v1.2.3