Keep the modification time during decryptFile
This commit is contained in:
parent
7b5072ab61
commit
bb0c69524b
|
@ -266,6 +266,7 @@ class DecryptAll {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$this->rootView->copy($source, $target);
|
$this->rootView->copy($source, $target);
|
||||||
|
$this->rootView->touch($target, $fileInfo->getMTime());
|
||||||
$this->rootView->rename($target, $source);
|
$this->rootView->rename($target, $source);
|
||||||
} catch (DecryptionFailedException $e) {
|
} catch (DecryptionFailedException $e) {
|
||||||
if ($this->rootView->file_exists($target)) {
|
if ($this->rootView->file_exists($target)) {
|
||||||
|
|
Loading…
Reference in New Issue