diff options
| author | Shadify <boomkin1234@hotmail.com> | 2017-12-01 09:59:15 +0100 | 
|---|---|---|
| committer | Shadify <boomkin1234@hotmail.com> | 2017-12-01 09:59:15 +0100 | 
| commit | 8c514c01aa4d620aea084beca3f4808270671f7e (patch) | |
| tree | 9deb21d647dae73e6c954b65ab3a4cebb9a3ddc8 /src/AppBundle/Controller/HomeController.php | |
| parent | 0f5659465584b5ef9fcbec26ea695fe3f1af9012 (diff) | |
wrote test case + cleaned up main page
Diffstat (limited to 'src/AppBundle/Controller/HomeController.php')
| -rw-r--r-- | src/AppBundle/Controller/HomeController.php | 1 | 
1 files changed, 0 insertions, 1 deletions
| 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); |