diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-04-21 21:55:50 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-04-21 21:55:50 +0200 |
commit | c424ab790f0a5a94573ff9a041c06ae0cd634c9e (patch) | |
tree | 122fc5476ff5349fdd7c5a8df6e7c5fc34843da9 /settings | |
parent | 49829482c898212c1bb4e7461cad7983541cd528 (diff) | |
download | nextcloud-server-c424ab790f0a5a94573ff9a041c06ae0cd634c9e.tar.gz nextcloud-server-c424ab790f0a5a94573ff9a041c06ae0cd634c9e.zip |
Fix setupcheck for intl module
A polyfill for intl is loaded very early (somewhere in base). Polyfill defines grapheme_strlen as function if
intl extension is not loaded. The check here is always true
because there is a function with that name.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'settings')
-rw-r--r-- | settings/Controller/CheckSetupController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php index 5f355d0ec2f..f1da8406edb 100644 --- a/settings/Controller/CheckSetupController.php +++ b/settings/Controller/CheckSetupController.php @@ -574,7 +574,7 @@ Raw output protected function hasRecommendedPHPModules(): array { $recommendedPHPModules = []; - if (!function_exists('grapheme_strlen')) { + if (!extension_loaded('intl')) { $recommendedPHPModules[] = 'intl'; } |