From 860e546695c14b2f348ca8c2a9c1d8bd2730c780 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Sat, 19 Feb 2011 01:09:31 +0000
Subject: [PATCH] - Patch #1019596 by RoboPhred: field_read_instance() doc says
 it will not return deleted instance, but that is a parameter option.

---
 modules/field/field.crud.inc | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/modules/field/field.crud.inc b/modules/field/field.crud.inc
index eda3218c53a4..7a5c8c82454f 100644
--- a/modules/field/field.crud.inc
+++ b/modules/field/field.crud.inc
@@ -635,12 +635,11 @@ function _field_write_instance($instance, $update = FALSE) {
 }
 
 /**
- * Reads a single instance record directly from the database.
+ * Reads a single instance record from the database.
  *
- * Generally, you should use the field_info_instance() instead.
- *
- * This function will not return deleted instances. Use
- * field_read_instances() instead for this purpose.
+ * Generally, you should use field_info_instance() instead, as it
+ * provides caching and allows other modules the opportunity to
+ * append additional formatters, widgets, and other information.
  *
  * @param $entity_type
  *   The type of entity to which the field is bound.
-- 
GitLab