Index: image.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image/image.module,v
retrieving revision 1.282
diff -u -p -r1.282 image.module
--- image.module	13 Jan 2009 09:39:09 -0000	1.282
+++ image.module	16 Jan 2009 02:25:39 -0000
@@ -406,16 +406,6 @@ function image_validate($node) {
   }
 }
 
-function image_submit($node) {
-  $nid = ($node->nid) ? $node->nid : 'new_node';
-  if (isset($_SESSION['image_new_files'][$nid])) {
-    $node->new_file = TRUE;
-    $node->rebuild_images = FALSE;
-    $node->images = $_SESSION['image_new_files'][$nid];
-    unset($_SESSION['image_new_files'][$nid]);
-  }
-}
-
 /**
  * Implementation of hook_view
  */
