Commit e948f79c authored by catch's avatar catch
Browse files

Issue #2074475 by benjy, Gábor Hojtsy: Rename {file_managed}.timestamp to...

Issue #2074475 by benjy, Gábor Hojtsy: Rename {file_managed}.timestamp to 'changed' and add a created timestamp.
parent 261fb648
......@@ -555,7 +555,8 @@ function user_update_8011() {
'langcode' => Language::LANGCODE_NOT_SPECIFIED,
'filesize' => filesize($destination),
'filemime' => file_get_mimetype($destination),
'timestamp' => REQUEST_TIME,
'created' => REQUEST_TIME,
'changed' => REQUEST_TIME,
))
->execute();
$default_image_fid = db_query('SELECT fid FROM {file_managed} WHERE uri = :uri', array(':uri' => $destination))->fetchField();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment