You are here

function video_admin_preset_delete_submit in Video 6.5

File

./video.admin.inc, line 370

Code

function video_admin_preset_delete_submit($form, $form_state) {
  $preset = $form['#preset'];
  db_query('DELETE FROM {video_preset_settings} WHERE presetid = %d', $preset->id);
  db_query('DELETE FROM {video_preset} WHERE id = %d', $preset->id);
}