diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php index ebca1105838..d3588280085 100644 --- a/lib/private/legacy/OC_Util.php +++ b/lib/private/legacy/OC_Util.php @@ -458,22 +458,6 @@ class OC_Util { $webServerRestart = true; } - /** - * The mbstring.func_overload check can only be performed if the mbstring - * module is installed as it will return null if the checking setting is - * not available and thus a check on the boolean value fails. - * - * TODO: Should probably be implemented in the above generic dependency - * check somehow in the long-term. - */ - if ($iniWrapper->getBool('mbstring.func_overload') !== null - && $iniWrapper->getBool('mbstring.func_overload') === true) { - $errors[] = [ - 'error' => $l->t('mbstring.func_overload is set to %s instead of the expected value 0.', [$iniWrapper->getString('mbstring.func_overload')]), - 'hint' => $l->t('To fix this issue set mbstring.func_overload to 0 in your php.ini.') - ]; - } - if (!self::isAnnotationsWorking()) { $errors[] = [ 'error' => $l->t('PHP is apparently set up to strip inline doc blocks. This will make several core apps inaccessible.'),