summaryrefslogtreecommitdiffstats
path: root/settings/Controller/CheckSetupController.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-06-13 12:21:02 +0200
committerGitHub <noreply@github.com>2018-06-13 12:21:02 +0200
commit6756c8d2b522834e441ceb65b55bb02299dc718c (patch)
treed198c50ad5047457b28baf527befadfffdb88c48 /settings/Controller/CheckSetupController.php
parentc4a2632d9539fb8c406b1027fdb445cea8310ee0 (diff)
parent624d191ef678d2f19a6d62e38f589c507ce05e72 (diff)
downloadnextcloud-server-6756c8d2b522834e441ceb65b55bb02299dc718c.tar.gz
nextcloud-server-6756c8d2b522834e441ceb65b55bb02299dc718c.zip
Merge pull request #9850 from nextcloud/fix/noid/setup-check-empty-index
Fix wrong hint about missing indexes
Diffstat (limited to 'settings/Controller/CheckSetupController.php')
-rw-r--r--settings/Controller/CheckSetupController.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php
index e1073be4697..4080cfab029 100644
--- a/settings/Controller/CheckSetupController.php
+++ b/settings/Controller/CheckSetupController.php
@@ -415,11 +415,7 @@ Raw output
return function_exists('imagettfbbox') && function_exists('imagettftext');
}
- /**
- * Check if the required FreeType functions are present
- * @return bool
- */
- protected function hasMissingIndexes() {
+ protected function hasMissingIndexes(): array {
$indexInfo = new MissingIndexInformation();
// Dispatch event so apps can also hint for pending index updates if needed
$event = new GenericEvent($indexInfo);