CRLF
This commit is contained in:
parent
8eecbb18c0
commit
a2d4af5449
|
@ -212,7 +212,7 @@ class PlayouthistoryController extends Zend_Controller_Action
|
||||||
$params = $request->getPost();
|
$params = $request->getPost();
|
||||||
Logging::info($params);
|
Logging::info($params);
|
||||||
|
|
||||||
$historyService = new Application_Service_HistoryService();
|
$historyService = new Application_Service_HistoryService();
|
||||||
$historyService->createItemTemplate($params);
|
$historyService->createItemTemplate($params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -474,18 +474,18 @@ class Application_Service_HistoryService
|
||||||
|
|
||||||
public function createItemTemplate($fields) {
|
public function createItemTemplate($fields) {
|
||||||
|
|
||||||
$this->con->beginTransaction();
|
$this->con->beginTransaction();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
$template = new CcPlayoutHistoryTemplate();
|
$template = new CcPlayoutHistoryTemplate();
|
||||||
|
|
||||||
$this->con->commit();
|
$this->con->commit();
|
||||||
}
|
}
|
||||||
catch (Exception $e) {
|
catch (Exception $e) {
|
||||||
$this->con->rollback();
|
$this->con->rollback();
|
||||||
Logging::info($e);
|
Logging::info($e);
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue