|
@@ 353-357 (lines=5) @@
|
| 350 |
|
$result = false; |
| 351 |
|
} |
| 352 |
|
|
| 353 |
|
if (!$result && !$this->file_exists($path)) { //clear ghost files from the cache on delete |
| 354 |
|
$storage = $mount->getStorage(); |
| 355 |
|
$internalPath = $mount->getInternalPath($absolutePath); |
| 356 |
|
$storage->getUpdater()->remove($internalPath); |
| 357 |
|
} |
| 358 |
|
return $result; |
| 359 |
|
} |
| 360 |
|
|
|
@@ 723-730 (lines=8) @@
|
| 720 |
|
} else { |
| 721 |
|
$result = $this->basicOperation('unlink', $path, ['delete']); |
| 722 |
|
} |
| 723 |
|
if (!$result && !$this->file_exists($path)) { //clear ghost files from the cache on delete |
| 724 |
|
$storage = $mount->getStorage(); |
| 725 |
|
$internalPath = $mount->getInternalPath($absolutePath); |
| 726 |
|
$storage->getUpdater()->remove($internalPath); |
| 727 |
|
return true; |
| 728 |
|
} else { |
| 729 |
|
return $result; |
| 730 |
|
} |
| 731 |
|
} |
| 732 |
|
|
| 733 |
|
/** |