From 04d840211f61b7db0a44a57d976caf92d0ea19bd Mon Sep 17 00:00:00 2001 From: jld3103 Date: Thu, 4 May 2023 16:42:48 +0200 Subject: [PATCH] Remove version check for ancient libxml version Signed-off-by: jld3103 --- lib/private/legacy/OC_Util.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php index a7e1953476a33..a04d154ef8bb8 100644 --- a/lib/private/legacy/OC_Util.php +++ b/lib/private/legacy/OC_Util.php @@ -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.'),