summaryrefslogtreecommitdiffstats
path: root/settings/Controller
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-06-13 13:18:40 +0200
committerGitHub <noreply@github.com>2018-06-13 13:18:40 +0200
commitcd87a40eb3a2b7026dfd1822e6e43e131edd3423 (patch)
treeb43828c49e674e9d1507debcc1991ff193f394fd /settings/Controller
parent6756c8d2b522834e441ceb65b55bb02299dc718c (diff)
parent4a0b7aaf6c80f59552b1da861432476a8ac4c7cf (diff)
downloadnextcloud-server-cd87a40eb3a2b7026dfd1822e6e43e131edd3423.tar.gz
nextcloud-server-cd87a40eb3a2b7026dfd1822e6e43e131edd3423.zip
Merge pull request #9836 from nextcloud/feature/noid/merge-tips-and-tricks-into-setup-checks
Merge tips & tricks section into setup checks
Diffstat (limited to 'settings/Controller')
-rw-r--r--settings/Controller/CheckSetupController.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php
index 4080cfab029..b4619ee4bb0 100644
--- a/settings/Controller/CheckSetupController.php
+++ b/settings/Controller/CheckSetupController.php
@@ -424,6 +424,10 @@ Raw output
return $indexInfo->getListOfMissingIndexes();
}
+ protected function isSqliteUsed() {
+ return strpos($this->config->getSystemValue('dbtype'), 'sqlite') !== false;
+ }
+
/**
* @return DataResponse
*/
@@ -447,6 +451,8 @@ Raw output
'isSettimelimitAvailable' => $this->isSettimelimitAvailable(),
'hasFreeTypeSupport' => $this->hasFreeTypeSupport(),
'hasMissingIndexes' => $this->hasMissingIndexes(),
+ 'isSqliteUsed' => $this->isSqliteUsed(),
+ 'databaseConversionDocumentation' => $this->urlGenerator->linkToDocs('admin-db-conversion'),
]
);
}