CRLF
This commit is contained in:
parent
8eecbb18c0
commit
a2d4af5449
2 changed files with 13 additions and 13 deletions
|
@ -474,18 +474,18 @@ class Application_Service_HistoryService
|
|||
|
||||
public function createItemTemplate($fields) {
|
||||
|
||||
$this->con->beginTransaction();
|
||||
|
||||
try {
|
||||
|
||||
$template = new CcPlayoutHistoryTemplate();
|
||||
|
||||
$this->con->commit();
|
||||
}
|
||||
catch (Exception $e) {
|
||||
$this->con->rollback();
|
||||
Logging::info($e);
|
||||
throw $e;
|
||||
$this->con->beginTransaction();
|
||||
|
||||
try {
|
||||
|
||||
$template = new CcPlayoutHistoryTemplate();
|
||||
|
||||
$this->con->commit();
|
||||
}
|
||||
catch (Exception $e) {
|
||||
$this->con->rollback();
|
||||
Logging::info($e);
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue