From b03351633aa58c5115e7a03423c55c5d567c5cfe Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sat, 5 Nov 2005 22:37:18 +0000 Subject: [PATCH] And simplexml doesn't need dom anymore to do the import --- ext/simplexml/simplexml.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 26675c8cff..a1d374a44a 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1597,7 +1597,6 @@ void *simplexml_export_node(zval *object TSRMLS_DC) return php_sxe_get_first_node(sxe, node TSRMLS_CC); } -#ifdef HAVE_DOM /* {{{ proto simplemxml_element simplexml_import_dom(domNode node [, string class_name]) Get a simplexml_element object from dom to allow for processing */ PHP_FUNCTION(simplexml_import_dom) @@ -1650,14 +1649,11 @@ PHP_FUNCTION(simplexml_import_dom) } } /* }}} */ -#endif function_entry simplexml_functions[] = { PHP_FE(simplexml_load_file, NULL) PHP_FE(simplexml_load_string, NULL) -#ifdef HAVE_DOM PHP_FE(simplexml_import_dom, NULL) -#endif {NULL, NULL, NULL} }; -- 2.50.1