mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 21:12:15 +09:00
#2081 보완: commit 빠진 곳 한 군데 더 발견, 불필요한 참조 연산자 제거
This commit is contained in:
parent
7a9c801d72
commit
cc40b156da
1 changed files with 3 additions and 3 deletions
|
|
@ -259,7 +259,7 @@ class pollController extends poll
|
||||||
throw new Rhymix\Framework\Exception('msg_cannot_delete_item_poll_exist');
|
throw new Rhymix\Framework\Exception('msg_cannot_delete_item_poll_exist');
|
||||||
}
|
}
|
||||||
|
|
||||||
$oDB = &DB::getInstance();
|
$oDB = DB::getInstance();
|
||||||
$oDB->begin();
|
$oDB->begin();
|
||||||
|
|
||||||
$item_args = new stdClass;
|
$item_args = new stdClass;
|
||||||
|
|
@ -272,7 +272,7 @@ class pollController extends poll
|
||||||
$oDB->rollback();
|
$oDB->rollback();
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
$oDB->commit();
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -312,7 +312,7 @@ class pollController extends poll
|
||||||
$oPollModel = getModel('poll');
|
$oPollModel = getModel('poll');
|
||||||
if($oPollModel->isPolled($poll_srl)) throw new Rhymix\Framework\Exception('msg_already_poll');
|
if($oPollModel->isPolled($poll_srl)) throw new Rhymix\Framework\Exception('msg_already_poll');
|
||||||
|
|
||||||
$oDB = &DB::getInstance();
|
$oDB = DB::getInstance();
|
||||||
$oDB->begin();
|
$oDB->begin();
|
||||||
|
|
||||||
$args = new stdClass;
|
$args = new stdClass;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue