You are here

function certificate_snapshot_delete_by_node in Certificate 6

Same name and namespace in other branches
  1. 8.3 certificate.module \certificate_snapshot_delete_by_node()
  2. 6.2 certificate.module \certificate_snapshot_delete_by_node()
  3. 7.3 certificate.module \certificate_snapshot_delete_by_node()
  4. 7.2 certificate.module \certificate_snapshot_delete_by_node()
  5. 3.x certificate.module \certificate_snapshot_delete_by_node()
1 call to certificate_snapshot_delete_by_node()
certificate_reset_certificates_action in ./certificate.module

File

./certificate.module, line 667
Certificate module.

Code

function certificate_snapshot_delete_by_node($node) {
  $sql = "DELETE FROM {certificate_snapshots} WHERE nid = %d";
  db_query($sql, $node->nid);
  return TRUE;
}