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.
2 parents 0db25f2 + 737b658 commit 79b3923Copy full SHA for 79b3923
apps/files_external/lib/Lib/Storage/AmazonS3.php
@@ -57,11 +57,6 @@ public function needsPartFile() {
57
return false;
58
}
59
60
- /**
61
- * @var int in seconds
62
- */
63
- private $rescanDelay = 10;
64
-
65
/** @var CappedMemoryCache|Result[] */
66
private $objectCache;
67
@@ -378,7 +373,7 @@ public function stat($path) {
378
373
if ($this->is_dir($path)) {
379
374
//folders don't really exist
380
375
$stat['size'] = -1; //unknown
381
- $stat['mtime'] = time() - $this->rescanDelay * 1000;
376
+ $stat['mtime'] = time();
382
377
} else {
383
$stat['size'] = $this->getContentLength($path);
384
$stat['mtime'] = strtotime($this->getLastModified($path));
0 commit comments