diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-06-12 23:43:29 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-06-13 11:56:43 +0200 |
commit | 624d191ef678d2f19a6d62e38f589c507ce05e72 (patch) | |
tree | fd77c791d001b29f88f7674bce99f96649db6450 /settings/Controller | |
parent | ed25fc3440f4d66539b2aa512f47ad12b03b7533 (diff) | |
download | nextcloud-server-624d191ef678d2f19a6d62e38f589c507ce05e72.tar.gz nextcloud-server-624d191ef678d2f19a6d62e38f589c507ce05e72.zip |
Fix wrong hint about missing indexes
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings/Controller')
-rw-r--r-- | settings/Controller/CheckSetupController.php | 6 |
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); |