summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKate <26026535+provokateurin@users.noreply.github.com>2023-05-05 21:44:25 +0200
committerGitHub <noreply@github.com>2023-05-05 21:44:25 +0200
commitc40d1b7dbc4b0c12ff08f300abdd93dbecba0396 (patch)
tree5a3c99b8f281cfb62d015bc43844f67016c11ec0
parent236f9a2dfe1cac25bf35fc8d091c544295a8126f (diff)
parent04d840211f61b7db0a44a57d976caf92d0ea19bd (diff)
downloadnextcloud-server-c40d1b7dbc4b0c12ff08f300abdd93dbecba0396.tar.gz
nextcloud-server-c40d1b7dbc4b0c12ff08f300abdd93dbecba0396.zip
Merge pull request #38077 from nextcloud/fix/libxml-version
Remove version check for ancient libxml version
-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.'),