| Versions | |
|---|---|
| 6 – 7 | actions_delete($aid) |
Deletes a single action from the database.
$aid The ID of the action to delete.
drupal/
<?php
function actions_delete($aid) {
db_delete('actions')
->condition('aid', $aid)
->execute();
module_invoke_all('actions_delete', $aid);
}
?>