summaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/AppInfo
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-10-02 11:21:45 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-10-19 11:44:00 +0200
commita4618cfea0710e919fcab9a80a61fcf4ed55759c (patch)
tree710dfe9ebcc81293ff9b0c2688201a3c3392374b /apps/settings/lib/AppInfo
parenta56d40cf2d8a16171bacf712124a5e025ffd8d83 (diff)
downloadnextcloud-server-a4618cfea0710e919fcab9a80a61fcf4ed55759c.tar.gz
nextcloud-server-a4618cfea0710e919fcab9a80a61fcf4ed55759c.zip
Move existing setup checks to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/settings/lib/AppInfo')
-rw-r--r--apps/settings/lib/AppInfo/Application.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/settings/lib/AppInfo/Application.php b/apps/settings/lib/AppInfo/Application.php
index 83f801208ed..48dc28c7216 100644
--- a/apps/settings/lib/AppInfo/Application.php
+++ b/apps/settings/lib/AppInfo/Application.php
@@ -50,7 +50,10 @@ use OCA\Settings\Search\SectionSearch;
use OCA\Settings\Search\UserSearch;
use OCA\Settings\SetupChecks\CheckUserCertificates;
use OCA\Settings\SetupChecks\LegacySSEKeyFormat;
+use OCA\Settings\SetupChecks\PhpDefaultCharset;
use OCA\Settings\SetupChecks\PhpOutdated;
+use OCA\Settings\SetupChecks\PhpOutputBuffering;
+use OCA\Settings\SetupChecks\SupportedDatabase;
use OCA\Settings\UserMigration\AccountMigrator;
use OCA\Settings\WellKnown\ChangePasswordHandler;
use OCA\Settings\WellKnown\SecurityTxtHandler;
@@ -142,7 +145,10 @@ class Application extends App implements IBootstrap {
});
$context->registerSetupCheck(CheckUserCertificates::class);
$context->registerSetupCheck(LegacySSEKeyFormat::class);
+ $context->registerSetupCheck(PhpDefaultCharset::class);
$context->registerSetupCheck(PhpOutdated::class);
+ $context->registerSetupCheck(PhpOutputBuffering::class);
+ $context->registerSetupCheck(SupportedDatabase::class);
$context->registerUserMigrator(AccountMigrator::class);
}