You are here

function freelinking_delete_all_confirm_submit in Freelinking 6

Same name and namespace in other branches
  1. 5 freelinking.module \freelinking_delete_all_confirm_submit()
  2. 6.2 freelinking.module \freelinking_delete_all_confirm_submit()

File

./freelinking.module, line 441

Code

function freelinking_delete_all_confirm_submit($form_id, &$form_state) {
  if ($form_state['values']['confirm']) {
    _freelinking_delete_all();
    drupal_set_message(t('<strong>All</strong> freelinks have been deleted.'));
  }
  return 'freelinking';
}