Add missing mtime field to processed documents

This commit is contained in:
Pranav Kant 2016-06-26 12:51:19 +05:30
parent 30f7323304
commit 440eb9e27c

View File

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