diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-12-18 00:23:50 +0300 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-12-18 00:23:50 +0300 |
commit | b02cc4f438ad017b62b4334e8d8d104615d08602 (patch) | |
tree | f81aac159bee1750a231d98191eae9802370f072 | |
parent | 647ed0849e5e5fe8af346ea609ba3d59ea750c65 (diff) |
initiate a DocumentAccess - #416
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r-- | lib/Service/IndexService.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Service/IndexService.php b/lib/Service/IndexService.php index fd37629..0d8bae1 100644 --- a/lib/Service/IndexService.php +++ b/lib/Service/IndexService.php @@ -42,6 +42,7 @@ use OCA\FullTextSearch\Model\ProviderIndexes; use OCA\FullTextSearch\Model\Runner; use OCP\FullTextSearch\IFullTextSearchPlatform; use OCP\FullTextSearch\IFullTextSearchProvider; +use OCP\FullTextSearch\Model\DocumentAccess; use OCP\FullTextSearch\Model\IIndex; use OCP\FullTextSearch\Model\IIndexOptions; use OCP\FullTextSearch\Model\IndexDocument; @@ -309,6 +310,7 @@ class IndexService implements IIndexService { ] ); + $document->setAccess(new DocumentAccess()); $provider->fillIndexDocument($document); $this->updateRunnerInfoArray( [ |