You are here

function pardot_admin_scoring_delete_submit in Pardot Integration 6

Same name and namespace in other branches
  1. 7.2 pardot.admin-scoring.inc \pardot_admin_scoring_delete_submit()
  2. 7 pardot.admin-scoring.inc \pardot_admin_scoring_delete_submit()

File

./pardot.admin-scoring.inc, line 149

Code

function pardot_admin_scoring_delete_submit($form, &$form_state) {
  db_query('DELETE FROM {pardot_scoring} WHERE scoring_id = %d', $form['#scoring_id']);
  $form_state['redirect'] = 'admin/settings/pardot/scoring';
}