Index: watcher.module =================================================================== --- watcher.module (revision 71) +++ watcher.module (working copy) @@ -503,6 +503,13 @@ } /** + * Implementation of hook_nodeapi(), op: delete + */ +function _watcher_hook_nodeapi_delete(&$node, $a3, $a4) { + db_query('DELETE FROM {watcher_nodes} WHERE nid=%d', $node->nid); +} + +/** * Implementation of hook_comment() */ function watcher_comment($comment, $op) {