Skip to content

Commit c40d1b7

Browse files
Merge pull request #38077 from nextcloud/fix/libxml-version
Remove version check for ancient libxml version
2 parents 236f9a2 + 04d8402 commit c40d1b7

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

lib/private/legacy/OC_Util.php

-14
Original file line numberDiff line numberDiff line change
@@ -692,20 +692,6 @@ public static function checkServer(\OC\SystemConfig $config) {
692692
];
693693
}
694694

695-
if (function_exists('xml_parser_create') &&
696-
LIBXML_LOADED_VERSION < 20700) {
697-
$version = LIBXML_LOADED_VERSION;
698-
$major = floor($version / 10000);
699-
$version -= ($major * 10000);
700-
$minor = floor($version / 100);
701-
$version -= ($minor * 100);
702-
$patch = $version;
703-
$errors[] = [
704-
'error' => $l->t('libxml2 2.7.0 is at least required. Currently %s is installed.', [$major . '.' . $minor . '.' . $patch]),
705-
'hint' => $l->t('To fix this issue update your libxml2 version and restart your web server.')
706-
];
707-
}
708-
709695
if (!self::isAnnotationsWorking()) {
710696
$errors[] = [
711697
'error' => $l->t('PHP is apparently set up to strip inline doc blocks. This will make several core apps inaccessible.'),

0 commit comments

Comments
 (0)