Commit 866e3db5 authored by Dries's avatar Dries

- Patch #1416900 by 30equals: remove node_node_type_insert() from content_types().inc.

parent 3a3bce39
......@@ -396,19 +396,6 @@ function node_type_form_submit($form, &$form_state) {
return;
}
/**
* Implements hook_node_type_insert().
*/
function node_node_type_insert($info) {
if (!empty($info->old_type) && $info->old_type != $info->type) {
$update_count = node_type_update_nodes($info->old_type, $info->type);
if ($update_count) {
drupal_set_message(format_plural($update_count, 'Changed the content type of 1 post from %old-type to %type.', 'Changed the content type of @count posts from %old-type to %type.', array('%old-type' => $info->old_type, '%type' => $info->type)));
}
}
}
/**
* Implements hook_node_type_update().
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment