Skip to content
Snippets Groups Projects
Commit ccde359a authored by catch's avatar catch
Browse files

Issue #1573082 by grendzy: Fixed watchdog 'Deleted content type' uses wrong type.

parent 9dee6f61
No related branches found
No related tags found
No related merge requests found
...@@ -454,7 +454,7 @@ function node_type_delete_confirm_submit($form, &$form_state) { ...@@ -454,7 +454,7 @@ function node_type_delete_confirm_submit($form, &$form_state) {
variable_del('node_preview_' . $form_state['values']['type']); variable_del('node_preview_' . $form_state['values']['type']);
$t_args = array('%name' => $form_state['values']['name']); $t_args = array('%name' => $form_state['values']['name']);
drupal_set_message(t('The content type %name has been deleted.', $t_args)); drupal_set_message(t('The content type %name has been deleted.', $t_args));
watchdog('menu', 'Deleted content type %name.', $t_args, WATCHDOG_NOTICE); watchdog('node', 'Deleted content type %name.', $t_args, WATCHDOG_NOTICE);
node_types_rebuild(); node_types_rebuild();
menu_router_rebuild(); menu_router_rebuild();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment