Index: hashcash.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/hashcash/hashcash.install,v
retrieving revision 1.5
diff -u -p -r1.5 hashcash.install
--- hashcash.install	7 Sep 2009 15:04:38 -0000	1.5
+++ hashcash.install	12 Oct 2009 14:37:03 -0000
@@ -2,35 +2,44 @@
 // $Id: hashcash.install,v 1.5 2009/09/07 15:04:38 sdrycroft Exp $
 
 /**
- * Installing of the hashcash module
+ * @file
+ * Install, update and uninstall functions for the hashcash module.
+ */
+
+/**
+ * Implementation of hook_install().
  */
 function hashcash_install() {
-  // Create the database to link images with users.  
-  // Create tables.
   drupal_install_schema('hashcash');
 }
 
+/**
+ * Implementation of hook_schema().
+ */
 function hashcash_schema(){
   $schema['hashcash'] = array(
     'fields' => array(
       'hashcash' => array(
         'type' => 'varchar',
         'length' => 255,
-        'not null' => TRUE),
+        'not null' => TRUE,
+      ),
       'hcdate' => array(
         'type' => 'varchar',
         'length' => 6,
-        'not null' => TRUE)
+        'not null' => TRUE,
       ),
+    ),
     'indexes' => array(
-      'hashcash_date_index' => array('hcdate')
+      'hashcash_date_index' => array('hcdate'),
     ),
-    'primary key' => array('hashcash')
+    'primary key' => array('hashcash'),
   );
   return $schema;
 }
+
 /**
- * Kick that loser to touch.
+ * Implementation of hook_uninstall().
  */
 function hashcash_uninstall() {
   // Remove tables.
@@ -41,8 +50,9 @@ function hashcash_uninstall() {
   variable_del('hashcash_addorignore');
 }
 
+/**
+ * Empty update function to force a menu rebuild.
+ */
 function hashcash_update_6101(){
-  // Update the menu stuff
-  menu_rebuild();
-  return array('#finished' => TRUE);
-}
\ No newline at end of file
+  return array();
+}
