Closed (fixed)
Project:
Bibliography Module
Version:
6.x-1.10
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2010 at 14:41 UTC
Updated:
5 Feb 2010 at 01:30 UTC
/**
* Implementation of hook_delete().
*
* When a node is deleted, we need to clean up related tables.
*/
function biblio_delete($node) {
+ require_once(drupal_get_path('module', 'biblio') .'/biblio.keywords.inc');
//first remove data from the biblio table
db_query('DELETE FROM {biblio} WHERE nid = %d', $node->nid);
biblio_delete_contributors($node);
biblio_delete_keywords($node);
}
If I call this function from another module it's possible that I get a fatal function not found error.
Comments
Comment #1
rjerome commentedHi Robert,
It's committed... http://drupal.org/cvs?commit=317856
Ron.