Skip to content

Commit

Permalink
Merge pull request #149 from nextcloud/fix/naming-0214
Browse files Browse the repository at this point in the history
naming
  • Loading branch information
ArtificialOwl authored Feb 14, 2022
2 parents 43a2d0e + a73e279 commit 0103f3b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/Service/FilesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -492,12 +492,13 @@ private function generateFilesDocumentFromFile(string $viewerId, Node $file): Fi
$document->setTags($tags);
}

$document->setModifiedTime($file->getMTime());

$stat = $file->stat();
$document->setMore(
[
'mtime' => $file->getMTime(),
'ctime' => $this->getInt('ctime', $stat),
'atime' => $this->getInt('atime', $stat)
'creationTime' => $this->getInt('ctime', $stat),
'accessedTime' => $this->getInt('atime', $stat)
]
);

Expand Down

0 comments on commit 0103f3b

Please sign in to comment.