Index: contrib/image_attach/image_attach.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image/contrib/image_attach/image_attach.install,v
retrieving revision 1.1.4.1
diff -u -r1.1.4.1 image_attach.install
--- contrib/image_attach/image_attach.install	19 Feb 2007 03:48:17 -0000	1.1.4.1
+++ contrib/image_attach/image_attach.install	21 Mar 2007 05:25:09 -0000
@@ -1,11 +1,5 @@
 <?php
 // $Id: image_attach.install,v 1.1.4.1 2007/02/19 03:48:17 walkah Exp $
-function image_attach_version($type) {
-  switch ($type) {
-    case SCHEMA:
-      return 1;
-  }
-}
 
 function image_attach_install() {
   switch ($GLOBALS['db_type']) {
@@ -25,5 +19,9 @@
     )");
     break;
   }
-  
+}
+
+function image_attach_uninstall() {
+  db_query('DROP TABLE {image_attach}');
+  variable_del('image_attach_existing');
 }
\ No newline at end of file
Index: contrib/image_gallery/image_gallery.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image/contrib/image_gallery/image_gallery.install,v
retrieving revision 1.1
diff -u -r1.1 image_gallery.install
--- contrib/image_gallery/image_gallery.install	2 May 2006 06:54:35 -0000	1.1
+++ contrib/image_gallery/image_gallery.install	21 Mar 2007 05:30:36 -0000
@@ -1,18 +1,15 @@
 <?php
 // $Id: image_gallery.install,v 1.1 2006/05/02 06:54:35 walkah Exp $
 
-function image_gallery_version($type) {
-  switch ($type) {
-    case SCHEMA:
-      return 1;
-  }
+function image_gallery_install() {
+  //Nothing to do.
 }
 
-function image_gallery_install() {
+function image_gallery_update_1() {
   if ($vid = variable_get('image_nav_vocabulary', '')) {
     db_query("UPDATE {vocabulary} SET module='image_gallery' WHERE vid=%d", $vid);
   }
   else {
     db_query("UPDATE {vocabulary} SET module='image_gallery' WHERE module='image'");
   }
-}  
\ No newline at end of file
+}
\ No newline at end of file
Index: image.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image/image.install,v
retrieving revision 1.1.4.1
diff -u -r1.1.4.1 image.install
--- image.install	13 Jan 2007 06:23:49 -0000	1.1.4.1
+++ image.install	21 Mar 2007 05:29:23 -0000
@@ -1,38 +1,34 @@
-<?php
-// $Id: image.install,v 1.1.4.1 2007/01/13 06:23:49 walkah Exp $
-
-/**
- * Installing and updating image.module.
- */
-
-function image_install() {
-  //Nothing to do.
-}
-
-/**
- * Update 4.5 to 4.6 or later.
- */
-function image_update_1() {
-  if (db_table_exists('image')) {
-    if ($result = db_query("SELECT * FROM {image}")) {
-      $fields = array('thumb_path' => 'thumbnail',
-                      'preview_path' => 'preview',
-                      'image_path' => '_original');
-      
-      while ($old_image = db_fetch_object($result)) {
-        foreach ($fields as $old => $new) {
-          $old_file = '';
-          if (file_exists($old_image->$old)) {
-            $old_file = $old_image->$old;
-          } else {
-            $old_file = file_create_path($old_image->$old);
-          }
-          if ($old_file && $old_image->$old != '' && db_num_rows(db_query("SELECT fid FROM {files} WHERE nid=%d and filename='%s'", $old_image->nid, $new)) == 0) {
-            _image_insert($old_image, $new, $old_file);
-          }
-        }
-      }
-    }
-  }
-  return array();
+<?php
+// $Id: image.install,v 1.1.4.1 2007/01/13 06:23:49 walkah Exp $
+
+function image_install() {
+  //Nothing to do.
+}
+
+/**
+ * Update 4.5 to 4.6 or later.
+ */
+function image_update_1() {
+  if (db_table_exists('image')) {
+    if ($result = db_query("SELECT * FROM {image}")) {
+      $fields = array('thumb_path' => 'thumbnail',
+                      'preview_path' => 'preview',
+                      'image_path' => '_original');
+
+      while ($old_image = db_fetch_object($result)) {
+        foreach ($fields as $old => $new) {
+          $old_file = '';
+          if (file_exists($old_image->$old)) {
+            $old_file = $old_image->$old;
+          } else {
+            $old_file = file_create_path($old_image->$old);
+          }
+          if ($old_file && $old_image->$old != '' && db_num_rows(db_query("SELECT fid FROM {files} WHERE nid=%d and filename='%s'", $old_image->nid, $new)) == 0) {
+            _image_insert($old_image, $new, $old_file);
+          }
+        }
+      }
+    }
+  }
+  return array();
 }
\ No newline at end of file

