Executes code after an action is deleted.
$aid: The action ID.
function hook_action_delete($aid) { db_delete('actions_assignments') ->condition('aid', $aid) ->execute(); }