From 7c6c15d9dcca07090e18e3ef4ce618fc11defd50 Mon Sep 17 00:00:00 2001 From: mk111 Date: Sun, 13 Oct 2024 01:23:09 +0200 Subject: [PATCH] Dropbox: Keep initial upload date when updating a document --- main/dropbox/dropbox_functions.inc.php | 1 - 1 file changed, 1 deletion(-) diff --git a/main/dropbox/dropbox_functions.inc.php b/main/dropbox/dropbox_functions.inc.php index 5729c254301..534eb506a17 100755 --- a/main/dropbox/dropbox_functions.inc.php +++ b/main/dropbox/dropbox_functions.inc.php @@ -1233,7 +1233,6 @@ function store_add_dropbox($file = [], $work = null) $work->title = $dropbox_title; $work->filename = $dropbox_filename; $work->filesize = $dropbox_filesize; - $work->upload_date = api_get_utc_datetime(); $work->last_upload_date = api_get_utc_datetime(); $work->description = isset($_POST['description']) ? $_POST['description'] : ''; $work->uploader_id = api_get_user_id();