actions_delete

Definition

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

Description

Delete a single action from the database.

Parameters

$aid integer The ID of the action to delete.

Code

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

Drupal is a registered trademark of Dries Buytaert.