? .cache
? .project
? .projectOptions
? files
? test.patch
? includes/image.imagemagick.inc
? misc/Thumbs.db
? misc/farbtastic/Thumbs.db
? modules/system/.system.install.swp
? sites/all/modules
? sites/default/settings.php
Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.149
diff -u -p -u -p -r1.149 system.install
--- modules/system/system.install	3 Sep 2007 14:13:58 -0000	1.149
+++ modules/system/system.install	5 Sep 2007 17:07:59 -0000
@@ -3560,6 +3560,8 @@ function system_update_6022() {
       $ret[] = update_sql('UPDATE {upload} AS u SET nid = r.nid FROM {node_revisions} r WHERE u.vid = r.vid');
       break;
   }
+  
+  $ret[] = update_sql('UPDATE {files} AS f SET status = 1');
 
   return $ret;
 }
