diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2012-08-18 14:15:07 +0200 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2012-08-18 14:15:07 +0200 |
commit | b8f53337739f6d5f07bea18342473f4e6794eb97 (patch) | |
tree | 5afbf4f6f489a4f30a79d219e5e64c3bea92a77a | |
parent | fbedd1a9be9c08fb80dab5edf3906866905f1095 (diff) | |
download | brdo-b8f53337739f6d5f07bea18342473f4e6794eb97.tar.gz brdo-b8f53337739f6d5f07bea18342473f4e6794eb97.tar.bz2 |
Issue #1054162 by tim.plunkett, Transition, Dave Reid, joachim, no_commit_credit, Berdir, marcingy, damiankloip: Taxonomy bundles not supported by EntityFieldQuery (followup).
-rw-r--r-- | includes/entity.inc | 4 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/includes/entity.inc b/includes/entity.inc index b19a23b58..2fefd5904 100644 --- a/includes/entity.inc +++ b/includes/entity.inc @@ -596,9 +596,7 @@ class EntityFieldQuery { * * 'bundle', 'revision_id' and 'entity_id' have no such restrictions. * - * Note: The "comment" and "taxonomy_term" entity types don't support bundle - * conditions. For "taxonomy_term", propertyCondition('vid') can be used - * instead. + * Note: The "comment" entity type does not support bundle conditions. * * @param $name * 'entity_type', 'bundle', 'revision_id' or 'entity_id'. diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index d501282fe..4652c2e67 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1914,7 +1914,7 @@ function taxonomy_taxonomy_term_delete($term) { * Converts EntityFieldQuery instances on taxonomy terms that have an entity * condition on term bundles (vocabulary machine names). Since the vocabulary * machine name is not present in the {taxonomy_term_data} table itself, we have - * to convert the bundle condition into a proprety condition of vocabulary IDs + * to convert the bundle condition into a property condition of vocabulary IDs * to match against {taxonomy_term_data}.vid. */ function taxonomy_entity_query_alter($query) { |