diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-03-28 11:39:35 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-03-28 11:39:35 +0000 |
commit | 49334ae538434dc6afae2a02d4446f41d7c68bef (patch) | |
tree | c73088aa84c400e5111f8793abd58d7b02d45903 /modules/taxonomy/taxonomy.admin.inc | |
parent | 2a79bce9a5294fd6e2521b7d2a05fac0f281096e (diff) | |
download | brdo-49334ae538434dc6afae2a02d4446f41d7c68bef.tar.gz brdo-49334ae538434dc6afae2a02d4446f41d7c68bef.tar.bz2 |
- Patch #735726 by catch: optimize taxonomy_term_save().
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 55ef4d6c9..7e6b43268 100644 --- a/modules/taxonomy/taxonomy.admin.inc +++ b/modules/taxonomy/taxonomy.admin.inc @@ -791,6 +791,8 @@ function taxonomy_form_term_submit($form, &$form_state) { case SAVED_UPDATED: drupal_set_message(t('Updated term %term.', array('%term' => $term->name))); watchdog('taxonomy', 'Updated term %term.', array('%term' => $term->name), WATCHDOG_NOTICE, l(t('edit'), 'taxonomy/term/' . $term->tid . '/edit')); + // Clear the page and block caches to avoid stale data. + cache_clear_all(); break; } |