diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-06-22 15:15:42 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-06-22 15:15:57 +0300 |
commit | 69f4c5003286557d69bdfe8df886491467f3387f (patch) | |
tree | ad65016998f7eaf0cf63e6727e1b88c3fd8ce1ee /apps/files_external | |
parent | 52dd1e3a807a42f591f7c8eb8aecdc8e2f51108a (diff) |
Remove rescanDelay from directory mtime
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/Lib/Storage/AmazonS3.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/files_external/lib/Lib/Storage/AmazonS3.php b/apps/files_external/lib/Lib/Storage/AmazonS3.php index 0fb520cf9d4..641a26b20ee 100644 --- a/apps/files_external/lib/Lib/Storage/AmazonS3.php +++ b/apps/files_external/lib/Lib/Storage/AmazonS3.php @@ -57,11 +57,6 @@ class AmazonS3 extends \OC\Files\Storage\Common { return false; } - /** - * @var int in seconds - */ - private $rescanDelay = 10; - /** @var CappedMemoryCache|Result[] */ private $objectCache; @@ -378,7 +373,7 @@ class AmazonS3 extends \OC\Files\Storage\Common { if ($this->is_dir($path)) { //folders don't really exist $stat['size'] = -1; //unknown - $stat['mtime'] = time() - $this->rescanDelay * 1000; + $stat['mtime'] = time(); } else { $stat['size'] = $this->getContentLength($path); $stat['mtime'] = strtotime($this->getLastModified($path)); |