From e043816bf4ee372adf8fa89600a6c78a7355b0b6 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Thu, 13 Sep 2012 12:23:48 -0400 Subject: [PATCH 1/2] Removed superfluous logging --- airtime_mvc/application/controllers/ApiController.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/airtime_mvc/application/controllers/ApiController.php b/airtime_mvc/application/controllers/ApiController.php index 57348e005..633236d37 100644 --- a/airtime_mvc/application/controllers/ApiController.php +++ b/airtime_mvc/application/controllers/ApiController.php @@ -610,8 +610,6 @@ class ApiController extends Zend_Controller_Action $dir_id = $request->getParam('dir_id'); $all = $request->getParam('all'); - Logging::info("All param is: $all"); - $this->view->files = Application_Model_StoredFile::listAllFiles($dir_id,$all); } From 2b9e6081a45cd8f9a0a4c8927d3585039d828a83 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Thu, 13 Sep 2012 12:27:04 -0400 Subject: [PATCH 2/2] Added log for exception --- airtime_mvc/application/controllers/LibraryController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/airtime_mvc/application/controllers/LibraryController.php b/airtime_mvc/application/controllers/LibraryController.php index 291078323..6c289c3e3 100644 --- a/airtime_mvc/application/controllers/LibraryController.php +++ b/airtime_mvc/application/controllers/LibraryController.php @@ -320,6 +320,7 @@ class LibraryController extends Zend_Controller_Action } catch (Exception $e) { //could throw a scheduled in future exception. $message = "Could not delete some scheduled files."; + Logging::info($e); } } }