I think it should be calling _content_fields(). Sorry I can't attach a patch properly right now. I hope this will do:

cvs diff: Diffing .
Index: date.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/date/date.install,v
retrieving revision 1.4.2.1
diff -u -r1.4.2.1 date.install
--- date.install        24 Aug 2006 20:00:54 -0000      1.4.2.1
+++ date.install        25 Aug 2006 23:28:29 -0000
@@ -55,7 +55,7 @@
   include_once(drupal_get_path('module', 'content') .'/content.module');
   include_once(drupal_get_path('module', 'content') .'/content_admin.inc');

-  $fields = content_fields();
+  $fields = _content_fields();

   foreach ($fields as $field) {
     switch ($field['type']) {
@@ -92,7 +92,7 @@
   include_once(drupal_get_path('module', 'content') .'/content.module');
   include_once(drupal_get_path('module', 'content') .'/content_admin.inc');

-  $fields = content_fields();
+  $fields = _content_fields();

   foreach ($fields as $field) {
     switch ($field['type']) {

Comments

KarenS’s picture

This one has been throwing me for a loop. When I branched to 4.7 I changed content_fields() to _content_fields() because that's what it was in the 4.7 version of the content module for the last few months, but then everyone started reporting errors. So I double-checked the latest 4.7 version in the cvs repository and somewhere along the line the function got changed to content_fields(), so I changed everything back again in the date module. I just took another look in the cvs repository and it looks like the 4.7 version of the content_module is using content_fields(). Are you seeing something different??

KarenS’s picture

Status: Active » Fixed

Just trying to clean up my issues queue. I think this was fixed in earlier commit as noted above. Please re-open if not.

drewish’s picture

yeah, it's fixed. i had a bad tag on my cvs checkout that was preventing it from updating.

Anonymous’s picture

Status: Fixed » Closed (fixed)