public function execute() { $label = $this->translator->translate('Installation_SystemCheckUpdateHttps'); if (CoreUpdater\Controller::isUpdatingOverHttps()) { return array(DiagnosticResult::singleResult($label, DiagnosticResult::STATUS_OK)); } $comment = $this->translator->translate('Installation_SystemCheckUpdateHttpsNotSupported'); return array(DiagnosticResult::singleResult($label, DiagnosticResult::STATUS_WARNING, $comment)); }
protected function makeUpdate(InputInterface $input, OutputInterface $output, $doDryRun) { $this->checkAllRequiredOptionsAreNotEmpty($input); $updateController = new Controller(); echo $updateController->runUpdaterAndExit($doDryRun); }