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/Cron/Index.php')
-rw-r--r--lib/Cron/Index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Cron/Index.php b/lib/Cron/Index.php
index b0c3d06..b03fe3e 100644
--- a/lib/Cron/Index.php
+++ b/lib/Cron/Index.php
@@ -109,6 +109,10 @@ class Index extends TimedJob {
try {
$provider = $this->providerService->getProvider($index->getProviderId());
+ if (!$this->providerService->isProviderIndexed($provider->getId())) {
+ continue;
+ }
+
$this->indexService->updateDocument($platform, $provider, $index);
} catch (Exception $e) {
$this->runner->exception($e->getMessage(), false);