aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-04-21 21:55:50 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-04-21 21:55:50 +0200
commitc424ab790f0a5a94573ff9a041c06ae0cd634c9e (patch)
tree122fc5476ff5349fdd7c5a8df6e7c5fc34843da9 /settings
parent49829482c898212c1bb4e7461cad7983541cd528 (diff)
downloadnextcloud-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.php2
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';
}