You are here

function fe_nodequeue_machine_name_delete in Features Extra 6

Delete machine name.

1 string reference to 'fe_nodequeue_machine_name_delete'
fe_nodequeue_form_alter in ./fe_nodequeue.module
Implementation of hook_form_alter().

File

./fe_nodequeue.module, line 258

Code

function fe_nodequeue_machine_name_delete($form, &$form_state) {
  $table = 'fe_nodequeue_queue';
  db_query("DELETE FROM {{$table}} WHERE qid = %d", $form_state['values']['qid']);
}