Mercurial > hg > orthanc
diff OrthancServer/Sources/OrthancWebDav.cpp @ 4246:6c3721ff284c
simplification
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 13 Oct 2020 10:39:47 +0200 |
parents | c70df925151e |
children | f047e2734655 |
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancWebDav.cpp Sat Oct 10 11:23:11 2020 +0200 +++ b/OrthancServer/Sources/OrthancWebDav.cpp Tue Oct 13 10:39:47 2020 +0200 @@ -1169,7 +1169,7 @@ { MimeType mime; std::string content; - boost::posix_time::ptime modification; + boost::posix_time::ptime modification; // Unused, let the date be set to "GetNow()" UriComponents p = path; p.push_back(filename); @@ -1179,7 +1179,6 @@ std::unique_ptr<File> f(new File(filename)); f->SetMimeType(mime); f->SetContentLength(content.size()); - f->SetCreationTime(modification); collection.AddResource(f.release()); } }