diff options
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; } |