From 9c0e6e92426a061f78e6dfe685c7c37c7f72bc62 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 11 Aug 2009 14:59:40 +0000 Subject: - Patch #367753 by yched, bjaspan: add support for bulk deletion to Fields API. --- modules/taxonomy/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy/taxonomy.module') 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"; -- cgit v1.2.3