Skip to content

Commit

Permalink
naming
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl committed Feb 14, 2022
1 parent 43a2d0e commit a73e279
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 a73e279

Please sign in to comment.