From 0a83b33a5a80fb4fe58fce8ebcfbd4e3f019bedb Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Tue, 18 Sep 2012 11:10:54 -0400 Subject: [PATCH] Removed extra logging statements --- airtime_mvc/application/controllers/ScheduleController.php | 2 -- airtime_mvc/application/models/ShowBuilder.php | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/application/controllers/ScheduleController.php b/airtime_mvc/application/controllers/ScheduleController.php index d78ae2719..e061d3d5d 100644 --- a/airtime_mvc/application/controllers/ScheduleController.php +++ b/airtime_mvc/application/controllers/ScheduleController.php @@ -825,13 +825,11 @@ class ScheduleController extends Zend_Controller_Action $this->view->newForm = $this->view->render( 'schedule/add-show-form.phtml'); Logging::debug("Show creation succeeded"); - Logging::debug_sparse( $data ); } else { $this->view->addNewShow = true; $this->view->form = $this->view->render( 'schedule/add-show-form.phtml'); Logging::debug("Show creation failed"); - Logging::debug_sparse( $data ); } } diff --git a/airtime_mvc/application/models/ShowBuilder.php b/airtime_mvc/application/models/ShowBuilder.php index bc1cdccbb..e1e2382aa 100644 --- a/airtime_mvc/application/models/ShowBuilder.php +++ b/airtime_mvc/application/models/ShowBuilder.php @@ -133,7 +133,8 @@ class Application_Model_ShowBuilder */ private function getScheduledStatus($p_epochItemStart, $p_epochItemEnd, &$row) { - if ($row["footer"] === true && $this->epoch_now > $p_epochItemStart && $this->epoch_now > $p_epochItemEnd) { + if ($row["footer"] === true && $this->epoch_now > $p_epochItemStart && + $this->epoch_now > $p_epochItemEnd) { $row["scheduled"] = 0; } elseif ($row["footer"] === true && $this->epoch_now < $p_epochItemEnd) { $row["scheduled"] = 2;