Merge pull request #50458 from nextcloud/backport/50298/stable31

[stable31] fix: detect deleted items as updated for smb storage
This commit is contained in:
Andy Scherzinger 2025-01-27 12:23:26 +01:00 committed by GitHub
commit 62a74d8264
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -410,7 +410,7 @@ class SMB extends Common implements INotifyStorage {
return true;
} else {
$actualTime = $this->filemtime($path);
return $actualTime > $time;
return $actualTime > $time || $actualTime === 0;
}
}