diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2016-06-26 10:21:19 +0300 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2016-06-28 11:54:26 +0300 |
commit | 440eb9e27c1107286aa0ca7decd51ba23cefe321 (patch) | |
tree | b8ce10b3d2dc5e438f2c90e8d94734fbc94638c6 /lib | |
parent | 30f732330402580a074c798144feb0df3b4e7540 (diff) |
Add missing mtime field to processed documents
Diffstat (limited to 'lib')
-rw-r--r-- | lib/storage.php | 3 |
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); |