summaryrefslogtreecommitdiff
path: root/ext/xml/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xml/xml.c')
-rw-r--r--ext/xml/xml.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c
index 8b3306dd57..3a17f31b00 100644
--- a/ext/xml/xml.c
+++ b/ext/xml/xml.c
@@ -247,10 +247,7 @@ PHP_MINIT_FUNCTION(xml)
#else
REGISTER_STRING_CONSTANT("XML_SAX_IMPL", "expat", CONST_CS|CONST_PERSISTENT);
#endif
-
-#ifdef LIBXML_EXPAT_COMPAT
- php_libxml_initialize();
-#endif
+
return SUCCESS;
}
@@ -263,9 +260,6 @@ PHP_RINIT_FUNCTION(xml)
PHP_MSHUTDOWN_FUNCTION(xml)
{
-#ifdef LIBXML_EXPAT_COMPAT
- php_libxml_shutdown();
-#endif
return SUCCESS;
}