From b86354c55c28f88b9bbd426d8faf405246148ee4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 13 Jan 2009 22:25:13 +0000 Subject: - Patch #225562 by Jody Lynn: change DB table names from eg. term_data to taxonomy_term_data. --- modules/taxonomy/taxonomy.api.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/taxonomy/taxonomy.api.php') diff --git a/modules/taxonomy/taxonomy.api.php b/modules/taxonomy/taxonomy.api.php index 617204d8a..21790e17b 100644 --- a/modules/taxonomy/taxonomy.api.php +++ b/modules/taxonomy/taxonomy.api.php @@ -78,7 +78,7 @@ function hook_taxonomy_vocabulary_delete($vocabulary) { * loaded in a single query for all terms where possible. * * Since terms are stored and retrieved from cache during a page request, avoid - * altering properties provided by the {term_data} table, since this may + * altering properties provided by the {taxonomy_term_data} table, since this may * affect the way results are loaded from cache in subsequent calls. * * @param $terms @@ -104,7 +104,7 @@ function hook_taxonomy_term_insert($term) { if (!empty($term->synonyms)) { foreach (explode ("\n", str_replace("\r", '', $term->synonyms)) as $synonym) { if ($synonym) { - db_insert('term_synonym') + db_insert('taxonomy_term_synonym') ->fields(array( 'tid' => $term->tid, 'name' => rtrim($synonym), @@ -128,7 +128,7 @@ function hook_taxonomy_term_update($term) { if (!empty($term->synonyms)) { foreach (explode ("\n", str_replace("\r", '', $term->synonyms)) as $synonym) { if ($synonym) { - db_insert('term_synonym') + db_insert('taxonomy_term_synonym') ->fields(array( 'tid' => $term->tid, 'name' => rtrim($synonym), -- cgit v1.2.3