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/Model/Runner.php')
-rw-r--r--lib/Model/Runner.php14
1 files changed, 5 insertions, 9 deletions
diff --git a/lib/Model/Runner.php b/lib/Model/Runner.php
index d758fac..8a654a0 100644
--- a/lib/Model/Runner.php
+++ b/lib/Model/Runner.php
@@ -27,7 +27,6 @@
namespace OCA\FullTextSearch\Model;
-use OCA\FullTextSearch\Exceptions\InterruptException;
use OCA\FullTextSearch\Exceptions\RunnerAlreadyUpException;
use OCA\FullTextSearch\Exceptions\TickDoesNotExistException;
use OCA\FullTextSearch\Exceptions\TickIsNotAliveException;
@@ -53,8 +52,8 @@ class Runner {
/** @var string */
private $source;
- /** @var bool */
- private $strict = false;
+// /** @var bool */
+// private $strict = false;
/** @var int */
private $tickId;
@@ -117,12 +116,10 @@ class Runner {
/**
- * @param bool $strict
- *
* @throws RunnerAlreadyUpException
*/
- public function start($strict = false) {
- $this->strict = $strict;
+ public function start() {
+// $this->strict = $strict;
$this->tickId = $this->runningService->start($this->source);
}
@@ -132,8 +129,7 @@ class Runner {
* @param bool $force
*
* @return string
- * @throws InterruptException
- * @throws TickDoesNotExistException
+ * @throws \Exception
*/
public function updateAction($action = '', $force = false) {
$n = '';