Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/storage.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/storage.php b/lib/storage.php
index c7fa35b0..3c0cfad7 100644
--- a/lib/storage.php
+++ b/lib/storage.php
@@ -146,7 +146,8 @@ class Storage {
'fileid' => $rawDocument->getId(),
'path' => $rawDocument->getInternalPath(),
'name' => $rawDocument->getName(),
- 'mimetype' => $rawDocument->getMimetype()
+ 'mimetype' => $rawDocument->getMimetype(),
+ 'mtime' => $rawDocument->getMTime()
);
array_push($documents, $document);