actions_delete

Versions
6 – 7
actions_delete($aid)

Delete a single action from the database.

Parameters

$aid integer The ID of the action to delete.

▾ 2 functions call 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.

Code

includes/actions.inc, line 372

<?php
function actions_delete($aid) {
  db_query("DELETE FROM {actions} WHERE aid = '%s'", $aid);
  module_invoke_all('actions_delete', $aid);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.