function _votingapi_update_condition in Voting API 5
1 call to _votingapi_update_condition()
File
- ./
votingapi_actions.module, line 359
Code
function _votingapi_update_condition($condition) {
$sql = "UPDATE {votingapi_action_condition} SET ";
$sql .= "name = '%s', description = '%s', data = '%s', handler = '%s', weight = %d ";
$sql .= "WHERE vacid = %d";
db_query($sql, $condition['description'], serialize($condition['data']), $condition['name'], $condition['handler'], $condition['weight'], $condition['vacid']);
}