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
path: root/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-09-04 16:15:58 +0300
committerMaxence Lange <maxence@artificial-owl.com>2018-09-04 16:15:58 +0300
commite03c733a091a1eb6c9067a58a5ada6834d66becb (patch)
tree840327e4ed1338df9121b2a66ca1f8391d039aa8 /lib
parentf147bc7673ffcf824d848d29363ef258264ec69a (diff)
-InterruptException
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Model/Runner.php42
1 files changed, 21 insertions, 21 deletions
diff --git a/lib/Model/Runner.php b/lib/Model/Runner.php
index 8a654a0..8644dd9 100644
--- a/lib/Model/Runner.php
+++ b/lib/Model/Runner.php
@@ -146,12 +146,12 @@ class Runner {
}
$tick = time();
- try {
- $this->hasBeenInterrupted();
- } catch (InterruptException $e) {
- $this->stop();
- throw $e;
- }
+// try {
+// $this->hasBeenInterrupted();
+// } catch (InterruptException $e) {
+// $this->stop();
+// throw $e;
+// }
if ($this->oldAction !== $action || $force) {
while (true) {
@@ -355,15 +355,15 @@ class Runner {
}
- /**
- * @throws InterruptException
- */
- private function hasBeenInterrupted() {
- if ($this->commandBase === null) {
- return;
- }
- $this->commandBase->hasBeenInterrupted();
- }
+// /**
+// * @throws InterruptException
+// */
+// private function hasBeenInterrupted() {
+// if ($this->commandBase === null) {
+// return;
+// }
+// $this->commandBase->hasBeenInterrupted();
+// }
/**
@@ -442,12 +442,12 @@ class Runner {
}
- /**
- * @return bool
- */
- public function isStrict() {
- return $this->strict;
- }
+// /**
+// * @return bool
+// */
+// public function isStrict() {
+// return $this->strict;
+// }
/**
* @param string $line