Skip to content

Commit

Permalink
Merge pull request #38077 from nextcloud/fix/libxml-version
Browse files Browse the repository at this point in the history
Remove version check for ancient libxml version
  • Loading branch information
provokateurin committed May 5, 2023
2 parents 236f9a2 + 04d8402 commit c40d1b7
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lib/private/legacy/OC_Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -692,20 +692,6 @@ public static function checkServer(\OC\SystemConfig $config) {
];
}

if (function_exists('xml_parser_create') &&
LIBXML_LOADED_VERSION < 20700) {
$version = LIBXML_LOADED_VERSION;
$major = floor($version / 10000);
$version -= ($major * 10000);
$minor = floor($version / 100);
$version -= ($minor * 100);
$patch = $version;
$errors[] = [
'error' => $l->t('libxml2 2.7.0 is at least required. Currently %s is installed.', [$major . '.' . $minor . '.' . $patch]),
'hint' => $l->t('To fix this issue update your libxml2 version and restart your web server.')
];
}

if (!self::isAnnotationsWorking()) {
$errors[] = [
'error' => $l->t('PHP is apparently set up to strip inline doc blocks. This will make several core apps inaccessible.'),
Expand Down

0 comments on commit c40d1b7

Please sign in to comment.