mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 23:03:25 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1020 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b101d6f632
commit
73099c3118
2 changed files with 9 additions and 4 deletions
|
|
@ -17,10 +17,15 @@
|
|||
* @brief 이미 설문 조사를 하였는지 검사하는 함수
|
||||
**/
|
||||
function isPolled($poll_srl) {
|
||||
$logged_info = Context::get('logged_info');
|
||||
$args->member_srl = $logged_info->member_srl;
|
||||
|
||||
$args->poll_srl = $poll_srl;
|
||||
$args->ipaddress = $_SERVER['REMOTE_ADDR'];
|
||||
|
||||
if(Context::get('is_logged')) {
|
||||
$logged_info = Context::get('logged_info');
|
||||
$args->member_srl = $logged_info->member_srl;
|
||||
} else {
|
||||
$args->ipaddress = $_SERVER['REMOTE_ADDR'];
|
||||
}
|
||||
$output = executeQuery('poll.getPollLog', $args);
|
||||
if($output->data->count) return true;
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue