summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.api.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-01-13 22:41:39 +0000
committerDries Buytaert <dries@buytaert.net>2009-01-13 22:41:39 +0000
commit77936aef4c487e8b3265cb28e72d104004cb1172 (patch)
treed2dbc969ff08f968f248ccedb39dc846950e3480 /modules/taxonomy/taxonomy.api.php
parentbe36b9205e25595f5e4bf0dba4de33f5f620b33e (diff)
downloadbrdo-77936aef4c487e8b3265cb28e72d104004cb1172.tar.gz
brdo-77936aef4c487e8b3265cb28e72d104004cb1172.tar.bz2
- Rollback of #225562 -- I think there is still something wrong.
Diffstat (limited to 'modules/taxonomy/taxonomy.api.php')
-rw-r--r--modules/taxonomy/taxonomy.api.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/taxonomy/taxonomy.api.php b/modules/taxonomy/taxonomy.api.php
index 21790e17b..617204d8a 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 {taxonomy_term_data} table, since this may
+ * altering properties provided by the {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('taxonomy_term_synonym')
+ db_insert('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('taxonomy_term_synonym')
+ db_insert('term_synonym')
->fields(array(
'tid' => $term->tid,
'name' => rtrim($synonym),