This commit is contained in:
Naomi 2013-07-30 19:25:06 -04:00
parent 7ca3048f36
commit a170ee7308
2 changed files with 48 additions and 48 deletions

View file

@ -137,9 +137,9 @@ class PlayouthistoryController extends Zend_Controller_Action
$historyService = new Application_Service_HistoryService();
$historyService->createPlayedItem($params);
}
catch (Exception $e) {
Logging::info($e);
Logging::info($e->getMessage());
catch (Exception $e) {
Logging::info($e);
Logging::info($e->getMessage());
}
}
@ -195,10 +195,10 @@ class PlayouthistoryController extends Zend_Controller_Action
public function configureItemTemplateAction() {
$request = $this->getRequest();
$params = $request->getPost();
Logging::info($params);
$request = $this->getRequest();
$params = $request->getPost();
Logging::info($params);
try {
$CC_CONFIG = Config::getConfig();
$baseUrl = Application_Common_OsPath::getBaseDir();
@ -218,10 +218,10 @@ class PlayouthistoryController extends Zend_Controller_Action
$this->view->fileMD = $historyService->getFileMetadataTypes();
$this->view->fields = $historyService->getFieldTypes();
$this->view->required_fields = $mandatoryFields;
}
catch (Exception $e) {
Logging::info($e);
Logging::info($e->getMessage());
}
catch (Exception $e) {
Logging::info($e);
Logging::info($e->getMessage());
}
}
@ -241,26 +241,26 @@ class PlayouthistoryController extends Zend_Controller_Action
}
}
public function setItemTemplateDefaultAction()
{
$request = $this->getRequest();
$params = $request->getPost();
public function setItemTemplateDefaultAction()
{
$request = $this->getRequest();
$params = $request->getPost();
Logging::info($params);
$template_id = $this->_getParam('id', null);
if (empty($template_id)) {
return;
}
try {
$historyService = new Application_Service_HistoryService();
$historyService->setConfiguredItemTemplate($template_id);
}
catch (Exception $e) {
Logging::info($e);
Logging::info($e->getMessage());
}
}
try {
$historyService = new Application_Service_HistoryService();
$historyService->setConfiguredItemTemplate($template_id);
}
catch (Exception $e) {
Logging::info($e);
Logging::info($e->getMessage());
}
}
public function editTemplateAction()