aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2025-01-21 17:56:46 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-01-30 14:29:11 +0000
commit26e7849d160411356227a38a7d719b76094b2c1b (patch)
treeda27e0fbbed87e5d9dfefda46f83c46d5a4c3b7a /apps
parentf5c7b75e235e4ce34dded7da8cbcc1f6ba77aa04 (diff)
downloadnextcloud-server-26e7849d160411356227a38a7d719b76094b2c1b.tar.gz
nextcloud-server-26e7849d160411356227a38a7d719b76094b2c1b.zip
fix: detect deleted items as updated for smb storagebackport/50298/stable29
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps')
-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 fe1d415e376..e5897c26531 100644
--- a/apps/files_external/lib/Lib/Storage/SMB.php
+++ b/apps/files_external/lib/Lib/Storage/SMB.php
@@ -473,7 +473,7 @@ class SMB extends Common implements INotifyStorage {
return true;
} else {
$actualTime = $this->filemtime($path);
- return $actualTime > $time;
+ return $actualTime > $time || $actualTime === 0;
}
}