aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Controller
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-10-09 17:08:59 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-10-19 11:44:01 +0200
commit05cb1415e19b97cdd6aaed23a743d198e925f699 (patch)
tree3050bf470882eafbbf788212fe69501052066401 /apps/settings/lib/Controller
parentfa3c0e4b1c69f1f309163150d0ad428a9ca13678 (diff)
downloadnextcloud-server-05cb1415e19b97cdd6aaed23a743d198e925f699.tar.gz
nextcloud-server-05cb1415e19b97cdd6aaed23a743d198e925f699.zip
Merge setupchecks from new API into old UI
This will allow migrating checks to the new API without touching the UI for now. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/settings/lib/Controller')
-rw-r--r--apps/settings/lib/Controller/CheckSetupController.php22
1 files changed, 1 insertions, 21 deletions
diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php
index 4977d8d17f2..1028d8ca202 100644
--- a/apps/settings/lib/Controller/CheckSetupController.php
+++ b/apps/settings/lib/Controller/CheckSetupController.php
@@ -330,25 +330,6 @@ class CheckSetupController extends Controller {
}
/**
- * Whether the version is outdated
- *
- * @return bool
- */
- protected function isPhpOutdated(): bool {
- return PHP_VERSION_ID < 80100;
- }
-
- /**
- * Whether the php version is still supported (at time of release)
- * according to: https://www.php.net/supported-versions.php
- *
- * @return array
- */
- private function isPhpSupported(): array {
- return ['eol' => $this->isPhpOutdated(), 'version' => PHP_VERSION];
- }
-
- /**
* Check if the reverse proxy configuration is working as expected
*
* @return bool
@@ -931,7 +912,6 @@ Raw output
'isRandomnessSecure' => $this->isRandomnessSecure(),
'securityDocs' => $this->urlGenerator->linkToDocs('admin-security'),
'isUsedTlsLibOutdated' => $this->isUsedTlsLibOutdated(),
- 'phpSupported' => $this->isPhpSupported(),
'forwardedForHeadersWorking' => $this->forwardedForHeadersWorking(),
'reverseProxyDocs' => $this->urlGenerator->linkToDocs('admin-reverse-proxy'),
'isCorrectMemcachedPHPModuleInstalled' => $this->isCorrectMemcachedPHPModuleInstalled(),
@@ -956,8 +936,8 @@ Raw output
'isEnoughTempSpaceAvailableIfS3PrimaryStorageIsUsed' => $this->isEnoughTempSpaceAvailableIfS3PrimaryStorageIsUsed(),
'reverseProxyGeneratedURL' => $this->urlGenerator->getAbsoluteURL('index.php'),
'imageMagickLacksSVGSupport' => $this->imageMagickLacksSVGSupport(),
- 'isDefaultPhoneRegionSet' => $this->config->getSystemValueString('default_phone_region', '') !== '',
'temporaryDirectoryWritable' => $this->isTemporaryDirectoryWritable(),
+ 'generic' => $this->setupCheckManager->runAll(),
]
);
}