summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2012-05-25 00:23:58 -0400
committerDavid Rothstein <drothstein@gmail.com>2012-05-25 00:23:58 -0400
commit57b8f4726866ce11bf05b50f5e2a19a2fe290ba0 (patch)
treeda697344ecd5671b4e633df32581a47a5c67d7ba /modules/node
parentda11da09fdbe9f36ac516448121b3837cc1cfdb2 (diff)
downloadbrdo-57b8f4726866ce11bf05b50f5e2a19a2fe290ba0.tar.gz
brdo-57b8f4726866ce11bf05b50f5e2a19a2fe290ba0.tar.bz2
Issue #1573082 by tim.plunkett, grendzy: Fixed watchdog 'Deleted content type' uses wrong type.
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/content_types.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc
index 71b3b1a60..72adc3491 100644
--- a/modules/node/content_types.inc
+++ b/modules/node/content_types.inc
@@ -437,7 +437,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_rebuild();