You are here

function radioactivity_delete_energy in Radioactivity 6

Same name and namespace in other branches
  1. 5 radioactivity.module \radioactivity_delete_energy()
1 call to radioactivity_delete_energy()
radioactivity_node_nodeapi in plugins/radioactivity_node.module

File

./radioactivity.module, line 158

Code

function radioactivity_delete_energy($oid, $oclass) {

  // remap id if necessary
  $oid = _radioactivity_possibly_remap_id($oid, $oclass);
  db_query("DELETE FROM {radioactivity} WHERE id=%d AND class='%s'", $oid, $oclass);
  return TRUE;
}