diff options
Diffstat (limited to 'lib/Service/IndexService.php')
-rw-r--r-- | lib/Service/IndexService.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Service/IndexService.php b/lib/Service/IndexService.php index 39e8bd0..a0b7db5 100644 --- a/lib/Service/IndexService.php +++ b/lib/Service/IndexService.php @@ -31,7 +31,6 @@ use OCA\FullTextSearch\Db\IndexesRequest; use OCA\FullTextSearch\Exceptions\DatabaseException; use OCA\FullTextSearch\Exceptions\IndexDoesNotExistException; use OCA\FullTextSearch\Exceptions\InterruptException; -use OCA\FullTextSearch\Exceptions\NoResultException; use OCA\FullTextSearch\Exceptions\NotIndexableDocumentException; use OCA\FullTextSearch\Exceptions\TickDoesNotExistException; use OCA\FullTextSearch\IFullTextSearchPlatform; @@ -82,8 +81,7 @@ class IndexService { */ public function __construct( IndexesRequest $indexesRequest, ConfigService $configService, - ProviderService $providerService, - PlatformService $platformService, MiscService $miscService + ProviderService $providerService, PlatformService $platformService, MiscService $miscService ) { $this->indexesRequest = $indexesRequest; $this->configService = $configService; @@ -359,9 +357,6 @@ class IndexService { try { $index = $platform->indexDocument($provider, $document); } catch (Exception $e) { - if ($this->runner->isStrict()) { - throw $e; - } } return $index; |