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));
}