function trigger_actions_delete
7.x trigger.module | trigger_actions_delete($aid) |
6.x trigger.module | trigger_actions_delete($aid) |
Implementation of hook_actions_delete().
Remove all trigger entries for the given action, when deleted.
File
- drupal-6.x/
modules/ trigger/ trigger.module, line 433 - Enables functions to be stored and executed at a later time when triggered by other modules or by one of Drupal's core API hooks.
Code
function trigger_actions_delete($aid) {
db_query("DELETE FROM {trigger_assignments} WHERE aid = '%s'", $aid);
}