function votingapi_actions_admin_delete_page_submit in Voting API 5
File
- ./
votingapi_actions_ui.inc, line 206
Code
function votingapi_actions_admin_delete_page_submit($formid, $form) {
$name = $form['set'];
$sets = _votingapi_load_action_sets_from_db();
if ($sets[$name]) {
_votingapi_delete_set($name, $set[$name]);
}
return 'admin/settings/voting_actions';
}