Moving between storages is not a rename
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
6a3321cefe
commit
d1d154128b
|
@ -624,7 +624,7 @@ class Encryption extends Wrapper {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = $this->copyBetweenStorage($sourceStorage, $sourceInternalPath, $targetInternalPath, $preserveMtime, true);
|
$result = $this->copyBetweenStorage($sourceStorage, $sourceInternalPath, $targetInternalPath, $preserveMtime, false);
|
||||||
if ($result) {
|
if ($result) {
|
||||||
if ($sourceStorage->is_dir($sourceInternalPath)) {
|
if ($sourceStorage->is_dir($sourceInternalPath)) {
|
||||||
$result &= $sourceStorage->rmdir($sourceInternalPath);
|
$result &= $sourceStorage->rmdir($sourceInternalPath);
|
||||||
|
|
Loading…
Reference in New Issue