diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-06-12 16:16:29 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-06-13 12:05:38 +0200 |
commit | 4a0b7aaf6c80f59552b1da861432476a8ac4c7cf (patch) | |
tree | 21f748733edd5fa5c93dc785c8f1b93a931f12e0 /settings/Controller | |
parent | c4a2632d9539fb8c406b1027fdb445cea8310ee0 (diff) | |
download | nextcloud-server-4a0b7aaf6c80f59552b1da861432476a8ac4c7cf.tar.gz nextcloud-server-4a0b7aaf6c80f59552b1da861432476a8ac4c7cf.zip |
Merge tips & tricks section into setup checks
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings/Controller')
-rw-r--r-- | settings/Controller/CheckSetupController.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php index e1073be4697..c3fd126792b 100644 --- a/settings/Controller/CheckSetupController.php +++ b/settings/Controller/CheckSetupController.php @@ -428,6 +428,10 @@ Raw output return $indexInfo->getListOfMissingIndexes(); } + protected function isSqliteUsed() { + return strpos($this->config->getSystemValue('dbtype'), 'sqlite') !== false; + } + /** * @return DataResponse */ @@ -451,6 +455,8 @@ Raw output 'isSettimelimitAvailable' => $this->isSettimelimitAvailable(), 'hasFreeTypeSupport' => $this->hasFreeTypeSupport(), 'hasMissingIndexes' => $this->hasMissingIndexes(), + 'isSqliteUsed' => $this->isSqliteUsed(), + 'databaseConversionDocumentation' => $this->urlGenerator->linkToDocs('admin-db-conversion'), ] ); } |