Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/fulltextsearch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Service/IndexService.php')
-rw-r--r--lib/Service/IndexService.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Service/IndexService.php b/lib/Service/IndexService.php
index eb00109..7821a7d 100644
--- a/lib/Service/IndexService.php
+++ b/lib/Service/IndexService.php
@@ -558,7 +558,8 @@ class IndexService {
* @throws Exception
*/
public function resetIndex($providerId = '') {
- $platform = $this->platformService->getPlatform();
+ $wrapper = $this->platformService->getPlatform();
+ $platform = $wrapper->getPlatform();
if ($providerId === '') {
$platform->resetIndex('all');