You are here

function hook_feedback_delete in Feedback 7.2

Respond to deletion of a feedback entry.

Parameters

$entry: The feedback entry object.

See also

feedback_delete_multiple()

1 invocation of hook_feedback_delete()
feedback_delete_multiple in ./feedback.module
Deletes multiple feedback entries.

File

./feedback.api.php, line 79
Hooks provided by the Feedback module.

Code

function hook_feedback_delete($entry) {
  db_delete('mytable')
    ->condition('fid', $entry->fid)
    ->execute();
}