You are here

function flag_actions_delete_action in Flag 5

Same name and namespace in other branches
  1. 6.2 flag_actions.module \flag_actions_delete_action()
  2. 6 flag_actions.module \flag_actions_delete_action()
  3. 7.3 flag_actions.module \flag_actions_delete_action()
  4. 7.2 flag_actions.module \flag_actions_delete_action()

Delete a flag action.

Parameters

$aid: The flag action ID to delete.

1 call to flag_actions_delete_action()
flag_actions_delete_form_submit in ./flag_actions.module

File

./flag_actions.module, line 145
Actions support for the Flag module.

Code

function flag_actions_delete_action($aid) {
  return db_query('DELETE FROM {flag_actions} WHERE aid = %d', $aid);
}