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-08-20 23:06:34 +0300
committerMaxence Lange <maxence@artificial-owl.com>2018-08-20 23:06:34 +0300
commit6e77c8f86233c755e4a053d5c36c94ef585da332 (patch)
tree6e565b48e4286e457a0baae494d890474c0b8a69 /lib
parentb3735d8a7ba492a4ea8836d096d7a88d5ed04bb3 (diff)
+onNewAction
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Command/Live.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/Command/Live.php b/lib/Command/Live.php
index abd19e5..cf73851 100644
--- a/lib/Command/Live.php
+++ b/lib/Command/Live.php
@@ -314,6 +314,23 @@ class Live extends ExtendedBase {
/**
+ * @param string $action
+ */
+ public function onNewAction($action) {
+
+ if ($action === 'indexChunk' || $action === 'indexChunkEnd') {
+ $this->runner->setInfoArray(
+ [
+ 'documentId' => '',
+ 'title' => '',
+ 'content' => ''
+ ]
+ );
+ }
+ }
+
+
+ /**
*
*/
private function generatePanels() {