summaryrefslogtreecommitdiff
path: root/modules/image
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-17 05:39:51 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-17 05:39:51 +0000
commit00319d8e9a8b35148a6856d3380d572c571b94dc (patch)
treec6c299f7318cf8e360d037e20ca0980ef15870c0 /modules/image
parent94a0bb3afda084011f13a9c6d626d2706a8844c3 (diff)
downloadbrdo-00319d8e9a8b35148a6856d3380d572c571b94dc.tar.gz
brdo-00319d8e9a8b35148a6856d3380d572c571b94dc.tar.bz2
#618654 by Steven Merrill, justinrandell, jim0203, quicksketch, and David_Rothstein: Fixed File and image fields are treated as temporary files and automatically deleted after six hours.
Diffstat (limited to 'modules/image')
-rw-r--r--modules/image/image.field.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/image/image.field.inc b/modules/image/image.field.inc
index 77ce16e53..e8b4612c1 100644
--- a/modules/image/image.field.inc
+++ b/modules/image/image.field.inc
@@ -226,6 +226,13 @@ function image_field_prepare_view($entity_type, $entities, $field, $instances, $
}
/**
+ * Implements hook_field_presave().
+ */
+function image_field_presave($obj_type, $object, $field, $instance, $langcode, &$items) {
+ file_field_presave($obj_type, $object, $field, $instance, $langcode, $items);
+}
+
+/**
* Implements hook_field_insert().
*/
function image_field_insert($entity_type, $entity, $field, $instance, $langcode, &$items) {