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);