From 624d191ef678d2f19a6d62e38f589c507ce05e72 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 12 Jun 2018 23:43:29 +0200 Subject: Fix wrong hint about missing indexes Signed-off-by: Morris Jobke --- settings/Controller/CheckSetupController.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'settings/Controller/CheckSetupController.php') 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); -- cgit v1.2.3