1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 03:03:26 +02:00

Removed duplicate php_libxml_(init|shutdown) they are already done by

ext/libxml.
This commit is contained in:
Ilia Alshanetsky
2003-12-16 17:14:06 +00:00
parent c002553d7c
commit bf36e351ba
3 changed files with 1 additions and 15 deletions
-4
View File
@@ -631,8 +631,6 @@ PHP_MINIT_FUNCTION(dom)
REGISTER_LONG_CONSTANT("DOM_INVALID_ACCESS_ERR", INVALID_ACCESS_ERR, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("DOM_VALIDATION_ERR", VALIDATION_ERR, CONST_CS | CONST_PERSISTENT);
php_libxml_initialize();
return SUCCESS;
}
/* }}} */
@@ -663,8 +661,6 @@ PHP_MINFO_FUNCTION(dom)
PHP_MSHUTDOWN_FUNCTION(dom)
{
php_libxml_shutdown();
zend_hash_destroy(&dom_domstringlist_prop_handlers);
zend_hash_destroy(&dom_namelist_prop_handlers);
zend_hash_destroy(&dom_domimplementationlist_prop_handlers);
-4
View File
@@ -1533,8 +1533,6 @@ PHP_MINIT_FUNCTION(simplexml)
sxe_object_handlers.get_class_entry = zend_get_std_object_handlers()->get_class_entry;
sxe_object_handlers.get_class_name = zend_get_std_object_handlers()->get_class_name;
php_libxml_initialize();
return SUCCESS;
}
/* }}} */
@@ -1543,8 +1541,6 @@ PHP_MINIT_FUNCTION(simplexml)
*/
PHP_MSHUTDOWN_FUNCTION(simplexml)
{
php_libxml_shutdown();
return SUCCESS;
}
/* }}} */
+1 -7
View File
@@ -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;
}