Skip to content

Commit

Permalink
Dropbox: Keep initial upload date when updating a document
Browse files Browse the repository at this point in the history
  • Loading branch information
mk111 authored Oct 12, 2024
1 parent a151a2b commit 7c6c15d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main/dropbox/dropbox_functions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7c6c15d

Please sign in to comment.