summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-31 16:06:36 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-31 16:06:36 +0000
commit03e2ec64ab00cfdd911496885387eafe0cf31734 (patch)
tree844291741f3c8554d6c07d4f4dd8e8c80a55694b /modules/taxonomy/taxonomy.module
parent150f6a682b67e046be445ab85218748fc73d2657 (diff)
downloadbrdo-03e2ec64ab00cfdd911496885387eafe0cf31734.tar.gz
brdo-03e2ec64ab00cfdd911496885387eafe0cf31734.tar.bz2
- Patch #606994 by yched: move entity handling out of Field 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 613383a90..cdffa7643 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1162,7 +1162,7 @@ function _taxonomy_clean_field_cache($term) {
// Determine object types that are not cacheable.
$obj_types = array();
- foreach (field_info_fieldable_types() as $obj_type => $info) {
+ foreach (entity_get_info() as $obj_type => $info) {
if (isset($info['cacheable']) && !$info['cacheable']) {
$obj_types[] = $obj_type;
}