Skip to content

Commit

Permalink
Merge pull request #50298 from nextcloud/smb-hasupdated-deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
provokateurin authored Jan 27, 2025
2 parents 29724ff + 4179abd commit e03b9ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_external/lib/Lib/Storage/SMB.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ public function hasUpdated(string $path, int $time): bool {
return true;
} else {
$actualTime = $this->filemtime($path);
return $actualTime > $time;
return $actualTime > $time || $actualTime === 0;
}
}

Expand Down

0 comments on commit e03b9ce

Please sign in to comment.