summaryrefslogtreecommitdiffstats
path: root/lib/Command/CheckInstall.php
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2020-06-22 16:55:46 -0100
committerMaxence Lange <maxence@artificial-owl.com>2020-06-22 16:55:46 -0100
commitb3d146116eadb57d83a2e289d64a7c47f52c4a7b (patch)
tree9e243db239fcd06e4d41ef487a6c787fcec1e507 /lib/Command/CheckInstall.php
parent2b5115b4703a1f8721d24dbd9ad97fc0bb731975 (diff)
fixing hashtags
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Command/CheckInstall.php')
-rw-r--r--lib/Command/CheckInstall.php23
1 files changed, 11 insertions, 12 deletions
diff --git a/lib/Command/CheckInstall.php b/lib/Command/CheckInstall.php
index c01d85fb..84bc805b 100644
--- a/lib/Command/CheckInstall.php
+++ b/lib/Command/CheckInstall.php
@@ -124,11 +124,11 @@ class CheckInstall extends Base {
parent::configure();
$this->setName('social:check:install')
->addOption('index', '', InputOption::VALUE_NONE, 'regenerate your index')
- ->addOption(
- 'push', '', InputOption::VALUE_REQUIRED,
- 'a local account used to test integration to Nextcloud Push',
- ''
- )
+// ->addOption(
+// 'push', '', InputOption::VALUE_REQUIRED,
+// 'a local account used to test integration to Nextcloud Push',
+// ''
+// )
->setDescription('Check the integrity of the installation');
}
@@ -144,9 +144,9 @@ class CheckInstall extends Base {
return;
}
- if ($this->checkPushApp($input, $output)) {
- return;
- }
+// if ($this->checkPushApp($input, $output)) {
+// return;
+// }
$result = $this->checkService->checkInstallationStatus();
@@ -180,7 +180,7 @@ class CheckInstall extends Base {
// push was not implemented on 18
// $wrapper = $this->pushService->testOnAccount($userId);
- $output->writeln(json_encode($wrapper, JSON_PRETTY_PRINT));
+// $output->writeln(json_encode($wrapper, JSON_PRETTY_PRINT));
return true;
}
@@ -213,17 +213,16 @@ class CheckInstall extends Base {
$this->streamDestRequest->emptyStreamDest();
$this->streamTagsRequest->emptyStreamTags();
- $this->regenerateIndex($input, $output);
+ $this->regenerateIndex($output);
return true;
}
/**
- * @param InputInterface $input
* @param OutputInterface $output
*/
- private function regenerateIndex(InputInterface $input, OutputInterface $output) {
+ private function regenerateIndex(OutputInterface $output) {
$streams = $this->streamRequest->getAll();
$progressBar = new ProgressBar($output, count($streams));
$progressBar->start();