We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54e4ce3 commit d6735deCopy full SHA for d6735de
1 file changed
apps/files_external/lib/Lib/Storage/AmazonS3.php
@@ -711,8 +711,9 @@ protected function getVersioningStatusFromBucket(): bool {
711
}
712
713
public function hasUpdated(string $path, int $time): bool {
714
+ $path = $this->normalizePath($path);
715
// for files we can get the proper mtime
- if ($path !== '' && $object = $this->headObject($path)) {
716
+ if (!$this->isRoot($path) && $object = $this->headObject($path)) {
717
$stat = $this->objectToMetaData($object);
718
return $stat['mtime'] > $time;
719
} else {
0 commit comments