From 440eb9e27c1107286aa0ca7decd51ba23cefe321 Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Sun, 26 Jun 2016 12:51:19 +0530 Subject: [PATCH] Add missing mtime field to processed documents --- lib/storage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);