aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2025-01-21 17:56:46 +0100
committerRobin Appelman <robin@icewind.nl>2025-01-21 17:56:46 +0100
commit4179abdb81722013511f3f53a4d10f247fb492ec (patch)
treec0ebb422a81848f06ed9d7dd58f415ace3daec10
parent101c7575ae7684a572e53740c63635cd12685995 (diff)
downloadnextcloud-server-smb-hasupdated-deleted.tar.gz
nextcloud-server-smb-hasupdated-deleted.zip
fix: detect deleted items as updated for smb storagesmb-hasupdated-deleted
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r--apps/files_external/lib/Lib/Storage/SMB.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/SMB.php b/apps/files_external/lib/Lib/Storage/SMB.php
index 4483cfd1bdf..ef203021566 100644
--- a/apps/files_external/lib/Lib/Storage/SMB.php
+++ b/apps/files_external/lib/Lib/Storage/SMB.php
@@ -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;
}
}