#2081 보완: commit 빠진 곳 한 군데 더 발견, 불필요한 참조 연산자 제거

This commit is contained in:
Kijin Sung 2023-02-26 21:39:33 +09:00
parent 7a9c801d72
commit cc40b156da

View file

@ -259,7 +259,7 @@ class pollController extends poll
throw new Rhymix\Framework\Exception('msg_cannot_delete_item_poll_exist');
}
$oDB = &DB::getInstance();
$oDB = DB::getInstance();
$oDB->begin();
$item_args = new stdClass;
@ -272,7 +272,7 @@ class pollController extends poll
$oDB->rollback();
return $output;
}
$oDB->commit();
return $output;
}
@ -312,7 +312,7 @@ class pollController extends poll
$oPollModel = getModel('poll');
if($oPollModel->isPolled($poll_srl)) throw new Rhymix\Framework\Exception('msg_already_poll');
$oDB = &DB::getInstance();
$oDB = DB::getInstance();
$oDB->begin();
$args = new stdClass;