@@ 993-1010 (lines=18) @@ | ||
990 | ||
991 | $args = new stdClass(); |
|
992 | ||
993 | if($point == -1) |
|
994 | { |
|
995 | if($comment_config->use_vote_down != 'S') |
|
996 | { |
|
997 | return new BaseObject(-1, 'msg_invalid_request'); |
|
998 | } |
|
999 | ||
1000 | $args->below_point = 0; |
|
1001 | } |
|
1002 | else |
|
1003 | { |
|
1004 | if($comment_config->use_vote_up != 'S') |
|
1005 | { |
|
1006 | return new BaseObject(-1, 'msg_invalid_request'); |
|
1007 | } |
|
1008 | ||
1009 | $args->more_point = 0; |
|
1010 | } |
|
1011 | ||
1012 | $args->comment_srl = $comment_srl; |
|
1013 | $output = executeQueryArray('comment.getVotedMemberList', $args); |
@@ 1233-1242 (lines=10) @@ | ||
1230 | ||
1231 | $oModuleModel = getModel('module'); |
|
1232 | $document_config = $oModuleModel->getModulePartConfig('document',$module_srl); |
|
1233 | if($point == -1) |
|
1234 | { |
|
1235 | if($document_config->use_vote_down!='S') return new BaseObject(-1, 'msg_invalid_request'); |
|
1236 | $args->below_point = 0; |
|
1237 | } |
|
1238 | else |
|
1239 | { |
|
1240 | if($document_config->use_vote_up!='S') return new BaseObject(-1, 'msg_invalid_request'); |
|
1241 | $args->more_point = 0; |
|
1242 | } |
|
1243 | ||
1244 | $args->document_srl = $document_srl; |
|
1245 |