summaryrefslogtreecommitdiffstats
path: root/lib/private/FullTextSearch
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-12-19 11:27:37 -0100
committerBackportbot <backportbot-noreply@rullzer.com>2018-12-20 08:34:17 +0000
commit5557485abac05544d02916f478ca64ef3b22e5cc (patch)
tree45aeae79b24c895561cff0ecee4d39fb57cc056a /lib/private/FullTextSearch
parente38cb45bf1770dfebd767027eace08b532637aae (diff)
downloadnextcloud-server-5557485abac05544d02916f478ca64ef3b22e5cc.tar.gz
nextcloud-server-5557485abac05544d02916f478ca64ef3b22e5cc.zip
using the createIndex from FullTextSearchManager
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/private/FullTextSearch')
-rw-r--r--lib/private/FullTextSearch/FullTextSearchManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/FullTextSearch/FullTextSearchManager.php b/lib/private/FullTextSearch/FullTextSearchManager.php
index 9a9b077cf23..444774fb4a7 100644
--- a/lib/private/FullTextSearch/FullTextSearchManager.php
+++ b/lib/private/FullTextSearch/FullTextSearchManager.php
@@ -166,7 +166,7 @@ class FullTextSearchManager implements IFullTextSearchManager {
* @throws FullTextSearchAppNotAvailableException
*/
public function createIndex(string $providerId, string $documentId, string $userId, int $status = 0): IIndex {
- return $this->getIndexService()->getIndex($providerId, $documentId);
+ return $this->getIndexService()->createIndex($providerId, $documentId, $userId, $status);
}