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

merge-requests/26/head
David Rothstein 2012-05-25 00:23:58 -04:00
parent da11da09fd
commit 57b8f47268
1 changed files with 1 additions and 1 deletions

View File

@ -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();