You are here

function flatcomments_node_type in Flatcomments 6

Same name and namespace in other branches
  1. 6.2 flatcomments.module \flatcomments_node_type()

Implementation of hook_node_type().

File

./flatcomments.module, line 86
Make comments replies to the node, regardless of the reply link used.

Code

function flatcomments_node_type($op, $info) {
  switch ($op) {
    case 'delete':
      variable_del('flatcomments_default_mode_' . $info->type);
      break;
  }
}