Skip to content

Commit 62a74d8

Browse files
Merge pull request #50458 from nextcloud/backport/50298/stable31
[stable31] fix: detect deleted items as updated for smb storage
2 parents 1c89327 + 5c0d4a4 commit 62a74d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/files_external/lib/Lib/Storage

apps/files_external/lib/Lib/Storage/SMB.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ public function hasUpdated(string $path, int $time): bool {
410410
return true;
411411
} else {
412412
$actualTime = $this->filemtime($path);
413-
return $actualTime > $time;
413+
return $actualTime > $time || $actualTime === 0;
414414
}
415415
}
416416

0 commit comments

Comments
 (0)