Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | public static function db_survey_vote_insert($survey_id, $survey_vote_id, $userId, $user_name_unsafe) { |
||
27 | classSupernova::$db->doInsertSet(TABLE_SURVEY_VOTES, array( |
||
28 | 'survey_parent_id' => $survey_id, |
||
29 | 'survey_parent_answer_id' => $survey_vote_id, |
||
30 | 'survey_vote_user_id' => $userId, |
||
31 | 'survey_vote_user_name' => $user_name_unsafe, |
||
32 | )); |
||
33 | } |
||
34 | |||
48 | } |