From a136ab56c4b1d40a638a146b9c78a9f112f85b06 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 15 Jul 2009 17:55:18 +0000 Subject: - Patch #512236 by yched, bjaspan: design flaw in field_attach_query(), follow-up patch with bugfixes and tests. --- modules/field/field.module | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'modules/field/field.module') diff --git a/modules/field/field.module b/modules/field/field.module index 9b8ddbead..1396e2283 100644 --- a/modules/field/field.module +++ b/modules/field/field.module @@ -100,14 +100,10 @@ define('FIELD_LOAD_REVISION', 'FIELD_LOAD_REVISION'); define('FIELD_QUERY_NO_LIMIT', 'FIELD_QUERY_NO_LIMIT'); /** - * Result format argument for field_attach_query(). + * Cursor return value for field_attach_query() to indicate that no + * more data is available. */ -define('FIELD_QUERY_RETURN_VALUES', 'FIELD_QUERY_RETURN_VALUES'); - -/** - * Result format argument for field_attach_query(). - */ -define('FIELD_QUERY_RETURN_IDS', 'FIELD_QUERY_RETURN_IDS'); +define('FIELD_QUERY_COMPLETE', 'FIELD_QUERY_COMPLETE'); /** * @} End of "Field query flags". -- cgit v1.2.3