summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-08-11 14:59:40 +0000
committerDries Buytaert <dries@buytaert.net>2009-08-11 14:59:40 +0000
commit9c0e6e92426a061f78e6dfe685c7c37c7f72bc62 (patch)
tree77be265c750278d74f0a822f934ee37631848fd0 /modules/taxonomy/taxonomy.module
parent9a8cfc2fd10bd5d66ec0b73824be90d328f97781 (diff)
downloadbrdo-9c0e6e92426a061f78e6dfe685c7c37c7f72bc62.tar.gz
brdo-9c0e6e92426a061f78e6dfe685c7c37c7f72bc62.tar.bz2
- Patch #367753 by yched, bjaspan: add support for bulk deletion to Fields API.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r--modules/taxonomy/taxonomy.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 578293eba..ba349e623 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -2015,7 +2015,7 @@ function _taxonomy_clean_field_cache($term) {
if ($obj_types) {
$conditions[] = array('type', $obj_types, 'NOT IN');
}
- $results = field_attach_query($field['field_name'], $conditions, FIELD_QUERY_NO_LIMIT);
+ $results = field_attach_query($field['id'], $conditions, FIELD_QUERY_NO_LIMIT);
foreach ($results as $obj_type => $objects) {
foreach (array_keys($objects) as $id) {
$cids[] = "field:$obj_type:$id";