[debug]: dont move .lck files to trash
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
91487d8739
commit
44bbc3c5b0
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue