From ccde359a978958c4e50fd69e63bfbf58b22b0e1c Mon Sep 17 00:00:00 2001 From: catch Date: Tue, 15 May 2012 21:49:41 +0900 Subject: [PATCH] Issue #1573082 by grendzy: Fixed watchdog 'Deleted content type' uses wrong type. --- core/modules/node/content_types.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/node/content_types.inc b/core/modules/node/content_types.inc index 9073379c592..6bb7969fa4c 100644 --- a/core/modules/node/content_types.inc +++ b/core/modules/node/content_types.inc @@ -454,7 +454,7 @@ function node_type_delete_confirm_submit($form, &$form_state) { variable_del('node_preview_' . $form_state['values']['type']); $t_args = array('%name' => $form_state['values']['name']); 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(); menu_router_rebuild();