diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-09-30 12:26:36 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-09-30 12:26:36 +0000 |
commit | 57090c33da0e007e6569106c92ce5b3cd3745bf7 (patch) | |
tree | 27a5d8d340c64fad5029cae852e8628c6e778c76 /modules/field/field.attach.inc | |
parent | 4d99a96690ba8ffbf20398d683ed3c040c167722 (diff) | |
download | brdo-57090c33da0e007e6569106c92ce5b3cd3745bf7.tar.gz brdo-57090c33da0e007e6569106c92ce5b3cd3745bf7.tar.bz2 |
- Patch #367013 by bjaspan, yched: clean ups for field_update_field().
Diffstat (limited to 'modules/field/field.attach.inc')
-rw-r--r-- | modules/field/field.attach.inc | 13 |
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 |