mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
Keep the modification time during decryptFile
This commit is contained in:
parent
7b5072ab61
commit
bb0c69524b
@ -266,6 +266,7 @@ class DecryptAll {
|
||||
|
||||
try {
|
||||
$this->rootView->copy($source, $target);
|
||||
$this->rootView->touch($target, $fileInfo->getMTime());
|
||||
$this->rootView->rename($target, $source);
|
||||
} catch (DecryptionFailedException $e) {
|
||||
if ($this->rootView->file_exists($target)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user