hook_atr_review_delete

Versions
6.1
hook_atr_review_delete($rids)

Respond to review deletion.

Parameters

$rids An array with the RIDs of the reviews that are being deleted.

Code

atr/atr.api.php, line 111

<?php
function hook_atr_review_delete($rids) {
  $palceholders = db_placeholders($rids);
  db_query("DELETE FROM {atr_review} WHERE rid IN ($placeholders)", $rids);
}
?>