function actions_delete

cis7 actions.inc actions_delete($aid)
cle7 actions.inc actions_delete($aid)
elmsmedia7 actions.inc actions_delete($aid)
icor7 actions.inc actions_delete($aid)
meedjum_blog7 actions.inc actions_delete($aid)
mooc7 actions.inc actions_delete($aid)

Deletes a single action from the database.

Parameters

$aid: The ID of the action to delete.

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

File

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

Code

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

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.