aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2023-05-04 16:42:48 +0200
committerjld3103 <jld3103yt@gmail.com>2023-05-05 19:07:55 +0200
commit04d840211f61b7db0a44a57d976caf92d0ea19bd (patch)
tree5a3c99b8f281cfb62d015bc43844f67016c11ec0
parent236f9a2dfe1cac25bf35fc8d091c544295a8126f (diff)
downloadnextcloud-server-04d840211f61b7db0a44a57d976caf92d0ea19bd.tar.gz
nextcloud-server-04d840211f61b7db0a44a57d976caf92d0ea19bd.zip
Remove version check for ancient libxml version
Signed-off-by: jld3103 <jld3103yt@gmail.com>
-rw-r--r--lib/private/legacy/OC_Util.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php
index a7e1953476a..a04d154ef8b 100644
--- a/lib/private/legacy/OC_Util.php
+++ b/lib/private/legacy/OC_Util.php
@@ -692,20 +692,6 @@ class OC_Util {
];
}
- 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.'),