You are here

function datereminder_node_type in Date Reminder 6.2

Same name and namespace in other branches
  1. 6 datereminder.module \datereminder_node_type()
  2. 7 datereminder.module \datereminder_node_type()

Implements hook_node_type().

Need to delete anything associated with any nodes of this type.

Note that this is a D6->D7 adapter. It supports the D6 api, but redirects to the D7 versions.

File

./datereminder.module, line 219
Support for reminders for nodes with dates.

Code

function datereminder_node_type($op, $info) {
  module_load_include('inc', 'datereminder', 'includes/node_type');
  switch ($op) {
    case 'delete':
      datereminder_node_type_delete($info);
      break;
    case 'update':
      datereminder_node_type_update($info);
      break;
  }
}