Index: fivestar.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/fivestar/fivestar.install,v
retrieving revision 1.5.2.10
diff -u -r1.5.2.10 fivestar.install
--- fivestar.install	22 Dec 2008 21:53:38 -0000	1.5.2.10
+++ fivestar.install	14 Mar 2009 00:13:29 -0000
@@ -190,3 +190,23 @@
   }
   return array();
 }
+
+/**
+ * Belated update for Drupal 6: Re-enable Fivestar CCK fields.
+ */
+function fivestar_update_6105() {
+  if ($abort = content_check_update('fivestar')) {
+    return $abort;
+  }
+
+  $ret = array();
+
+  // All CCK fields are disabled by Content module during the D6 upgrade.
+  // Re-enable the Fivestar fields.
+  module_load_include('inc', 'fivestar', 'fivestar_field');
+  content_associate_fields('fivestar');
+
+  $ret[] = array('success' => TRUE, 'query' => t('Re-enabled Fivestar CCK fields.'));
+
+  return $ret;
+}
\ No newline at end of file
