From e57faf219274c3802fef3831be18f15961035b05 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 20 Jun 2003 17:43:03 +0000 Subject: - 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. --- modules/taxonomy/taxonomy.module | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/taxonomy/taxonomy.module') 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; } -- cgit v1.2.3