? core.kpf
? sites/default/files
? sites/default/settings.php
Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.499
diff -u -p -r1.499 system.install
--- modules/system/system.install	23 Aug 2010 14:56:37 -0000	1.499
+++ modules/system/system.install	27 Aug 2010 11:47:46 -0000
@@ -2809,7 +2809,7 @@ function system_update_7059(&$sandbox) {
 
       // Add the usage entry for the file.
       $file = (object) $file;
-      file_usage_add($file, 'file', 'node', $revision->nid);
+      file_usage_add($file, 'file', 'node', $revision['nid']);
     }
 
     // Insert the revision's files into the field_upload table.
