diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-14 20:42:45 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-14 20:42:45 +0000 |
commit | 8dd7376d5a15f2485fdd83c8db402a244314e30b (patch) | |
tree | 1b6241df8c5eeb5692e2345144fad8ee435de941 /modules/taxonomy/taxonomy.admin.inc | |
parent | 8049f94756021402a34ad3f2eb54fee5b19ae39b (diff) | |
download | brdo-8dd7376d5a15f2485fdd83c8db402a244314e30b.tar.gz brdo-8dd7376d5a15f2485fdd83c8db402a244314e30b.tar.bz2 |
#923826 by catch, carlos8f, moshe weitzman: Fixed entity delete operations should use transactions.
Diffstat (limited to 'modules/taxonomy/taxonomy.admin.inc')
-rw-r--r-- | modules/taxonomy/taxonomy.admin.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.admin.inc b/modules/taxonomy/taxonomy.admin.inc index 84ac05bb3..52cecb298 100644 --- a/modules/taxonomy/taxonomy.admin.inc +++ b/modules/taxonomy/taxonomy.admin.inc @@ -902,6 +902,7 @@ function taxonomy_term_confirm_delete_submit($form, &$form_state) { drupal_set_message(t('Deleted term %name.', array('%name' => $form_state['values']['name']))); watchdog('taxonomy', 'Deleted term %name.', array('%name' => $form_state['values']['name']), WATCHDOG_NOTICE); $form_state['redirect'] = 'admin/structure/taxonomy'; + cache_clear_all(); return; } @@ -941,6 +942,7 @@ function taxonomy_vocabulary_confirm_delete_submit($form, &$form_state) { drupal_set_message(t('Deleted vocabulary %name.', array('%name' => $form_state['values']['name']))); watchdog('taxonomy', 'Deleted vocabulary %name.', array('%name' => $form_state['values']['name']), WATCHDOG_NOTICE); $form_state['redirect'] = 'admin/structure/taxonomy'; + cache_clear_all(); return; } |