aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Controller/CheckSetupController.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-10-26 16:07:11 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-11-07 12:25:03 +0100
commitac3da13b38d2bb4ec658b5f89e35d56271db3f22 (patch)
treec1f0525baa6447f1a491d33e5c538203ed413aa8 /apps/settings/lib/Controller/CheckSetupController.php
parent086d3ceecc211f255dd24e6ffaed553a6ca2046d (diff)
downloadnextcloud-server-ac3da13b38d2bb4ec658b5f89e35d56271db3f22.tar.gz
nextcloud-server-ac3da13b38d2bb4ec658b5f89e35d56271db3f22.zip
Migrate Freetype check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/settings/lib/Controller/CheckSetupController.php')
-rw-r--r--apps/settings/lib/Controller/CheckSetupController.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php
index 80dd6952980..270956326ed 100644
--- a/apps/settings/lib/Controller/CheckSetupController.php
+++ b/apps/settings/lib/Controller/CheckSetupController.php
@@ -454,14 +454,6 @@ Raw output
return $recommendations;
}
- /**
- * Check if the required FreeType functions are present
- * @return bool
- */
- protected function hasFreeTypeSupport() {
- return function_exists('imagettfbbox') && function_exists('imagettftext');
- }
-
protected function hasMissingIndexes(): array {
$indexInfo = new MissingIndexInformation();
@@ -754,7 +746,6 @@ Raw output
'isCorrectMemcachedPHPModuleInstalled' => $this->isCorrectMemcachedPHPModuleInstalled(),
'OpcacheSetupRecommendations' => $this->getOpcacheSetupRecommendations(),
'isSettimelimitAvailable' => $this->isSettimelimitAvailable(),
- 'hasFreeTypeSupport' => $this->hasFreeTypeSupport(),
'missingPrimaryKeys' => $this->hasMissingPrimaryKeys(),
'missingIndexes' => $this->hasMissingIndexes(),
'missingColumns' => $this->hasMissingColumns(),