diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-06-20 17:43:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-06-20 17:43:03 +0000 |
commit | e57faf219274c3802fef3831be18f15961035b05 (patch) | |
tree | 9ab269050888eed8d42e9a2864c969732daab4a5 /modules/taxonomy/taxonomy.module | |
parent | 25081b2103d5a758876adc12ea097faabe153791 (diff) | |
download | brdo-e57faf219274c3802fef3831be18f15961035b05.tar.gz brdo-e57faf219274c3802fef3831be18f15961035b05.tar.bz2 |
- Bugfix: fixed problem with changing themes. Didn't apply Al's patch as
the fix was somewhat simpler. Fixes bug #2003.
- Bugfix: fixed problem with voting on certain poll pages. Patch #37 by Al.
- Improvement: removed stupid descriptions from profile module.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 7a35e0460..89427d139 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -255,6 +255,7 @@ function taxonomy_del_term($tid) { db_query("DELETE FROM term_node WHERE tid = %d", $tid); module_invoke_all("taxonomy", "delete", "term", $term); + cache_clear_all(); return t("deleted term '%name'.", array("%name" => $term->name)); @@ -334,6 +335,7 @@ function taxonomy_get_vocabularies($type = '', $key = "vid") { while ($voc = db_fetch_object($result)) { $vocabularies[$voc->$key] = $voc; } + return $vocabularies; } |