6.x actions.inc actions_delete($aid)
7.x actions.inc actions_delete($aid)

Delete a single action from the database.


$aid: integer The ID of the action to delete.

2 calls to actions_delete()
actions_synchronize in includes/actions.inc
Synchronize actions that are provided by modules.
system_actions_delete_form_submit in modules/system/system.module
Process system_actions_delete form submissions.


includes/actions.inc, line 401
This is the actions engine for executing stored actions.


function actions_delete($aid) {
  db_query("DELETE FROM {actions} WHERE aid = '%s'", $aid);
  module_invoke_all('actions_delete', $aid);


CharlesAnthony’s picture

We can delete a single or multiple record from database by "where" clause also.

pass a hair drug test