From 5f6df44b4f7a4a23e2803eae6e2360dbf45bbc7c Mon Sep 17 00:00:00 2001 From: Silvio Date: Thu, 7 Oct 2010 19:02:10 -0300 Subject: Removing $file->status commented code --- mass_image_import.module | 1 - 1 file changed, 1 deletion(-) diff --git a/mass_image_import.module b/mass_image_import.module index e5e7dc1..ae4c844 100644 --- a/mass_image_import.module +++ b/mass_image_import.module @@ -231,7 +231,6 @@ function mass_image_import_create_node_from($filepath, $title, $body, $taxonomy) $file->filemime = file_get_mimetype($filepath); $file->filesize = filesize($filepath); $file->uid = $uid; - //$file->status = FILE_STATUS_PERMANENT; // See http://drupal.org/node/881020 $file->timestamp = time(); drupal_write_record('files', $file); -- cgit v1.2.3