mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
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>
This commit is contained in:
parent
49829482c8
commit
c424ab790f
1 changed files with 1 additions and 1 deletions
|
|
@ -574,7 +574,7 @@ Raw output
|
|||
protected function hasRecommendedPHPModules(): array {
|
||||
$recommendedPHPModules = [];
|
||||
|
||||
if (!function_exists('grapheme_strlen')) {
|
||||
if (!extension_loaded('intl')) {
|
||||
$recommendedPHPModules[] = 'intl';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue