diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-01-14 21:16:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-01-14 21:16:21 +0000 |
commit | d3df2ff356b0b5802e406de32bbe8727af3128b5 (patch) | |
tree | db6df37d436e550f8523c21beda5c2b0f6bd251c /modules/taxonomy/taxonomy.api.php | |
parent | 534287b1bc054a4141855ce472d3c400af7d6784 (diff) | |
download | brdo-d3df2ff356b0b5802e406de32bbe8727af3128b5.tar.gz brdo-d3df2ff356b0b5802e406de32bbe8727af3128b5.tar.bz2 |
- Patch #225562 by Jody Lynn et al: clean up of the taxonomy module SQL table namespace.
Diffstat (limited to 'modules/taxonomy/taxonomy.api.php')
-rw-r--r-- | modules/taxonomy/taxonomy.api.php | 6 |
1 files changed, 3 insertions, 3 deletions
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), |