summaryrefslogtreecommitdiff
path: root/modules/field/field.attach.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field/field.attach.inc')
-rw-r--r--modules/field/field.attach.inc13
1 files changed, 0 insertions, 13 deletions
diff --git a/modules/field/field.attach.inc b/modules/field/field.attach.inc
index 5b5d31ed4..4b5441904 100644
--- a/modules/field/field.attach.inc
+++ b/modules/field/field.attach.inc
@@ -1110,19 +1110,6 @@ function field_attach_query_revisions($field_id, $conditions, $count, &$cursor =
}
/**
- * Determine whether a field has any data.
- *
- * @param $field
- * A field structure.
- * @return
- * TRUE if the field has data for any object; FALSE otherwise.
- */
-function field_attach_field_has_data($field) {
- $results = field_attach_query($field['id'], array(), 1);
- return !empty($results);
-}
-
-/**
* Generate and return a structured content array tree suitable for
* drupal_render() for all of the fields on an object. The format of
* each field's rendered content depends on the display formatter and