function trigger_actions_delete
Same name and namespace in other branches
- 6.x drupal-6.x/modules/trigger/trigger.module \trigger_actions_delete()
Implements hook_actions_delete().
Removes all trigger entries for the given action, when an action is deleted.
Archivo
- drupal-7.x/
modules/ trigger/ trigger.module, line 627 - Enables functions to be stored and executed at a later time.
Código
function trigger_actions_delete($aid) {
db_delete('trigger_assignments')->condition('aid', $aid)->execute();
drupal_static_reset('trigger_get_assigned_actions');
}