You are here

function contribute_node_insert in Contribute 6

1 call to contribute_node_insert()
contribute_nodeapi in ./contribute.module

File

./contribute.module, line 378
Lets users contribute to projects

Code

function contribute_node_insert($nid, $budget) {
  $result = db_query('INSERT INTO {contribute_contribution_recipients} VALUES(%d,0,%f)', $nid, $budget);
}