Compare commits

...

1 Commits

Author SHA1 Message Date
Robin Appelman 44bbc3c5b0
[debug]: dont move .lck files to trash
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-05-01 18:51:18 +02:00
1 changed files with 4 additions and 0 deletions

View File

@ -126,6 +126,10 @@ class Storage extends Wrapper {
* @return bool
*/
protected function shouldMoveToTrash($path) {
if (substr($path, -4) === '.lck') {
return false;
}
$normalized = Filesystem::normalizePath($this->mountPoint . '/' . $path);
$parts = explode('/', $normalized);
if (count($parts) < 4) {