actions_delete

Definition

actions_delete($aid)
drupal/includes/actions.inc, line 361

Description

Delete a single action from the database.

Parameters

$aid integer The ID of the action to delete.

Code

function actions_delete($aid) {
  db_delete('actions')
    ->condition('aid', $aid)
    ->execute();
  module_invoke_all('actions_delete', $aid);
}