Closed (fixed)
Project:
Synthesized Products
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2007 at 17:26 UTC
Updated:
26 Mar 2007 at 00:45 UTC
Jump to comment: Most recent file
reported by coupet (http://drupal.org/user/44538)
See delete FROM {chemical}
table chemical does not exist.
/**
* Implementation of hook_nodeapi().
*/
function synth_products_nodeapi(&$node, $op, $teaser, $page) {
switch ($op) {
case 'delete revision':
db_query('DELETE FROM {chemical} WHERE vid = %d', $node->vid);
break;
}
}
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | sp_fix_revision_1.patch | 1.08 KB | pwolanin |
Comments
Comment #1
pwolanin commenteddelete revision code for each node type.
Comment #2
coupet commentedconfirm patch apply nicely.
Also tables (data) updated respectively including: synch_product, synth_transaction, node & node_revisions
Darly
Comment #3
pwolanin commentedok, patch committed.
Comment #4
(not verified) commented