diff options
| author | Rasmus Lerdorf <rasmus@php.net> | 2005-11-05 22:32:55 +0000 |
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@php.net> | 2005-11-05 22:32:55 +0000 |
| commit | f16fb8484d7a74fac613496ea00a17f8eb8dd81a (patch) | |
| tree | 7f71320f5436ea28b74aaf3d5f69205e4da4804c /ext | |
| parent | c4ee761db1c2378bdbaa6cc9b16feab37c0c3ce6 (diff) | |
| download | php-git-f16fb8484d7a74fac613496ea00a17f8eb8dd81a.tar.gz | |
MFB - We don't need the simplexml requirement here anymore
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/dom/php_dom.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c index a6ff59ad1e..58c18df620 100644 --- a/ext/dom/php_dom.c +++ b/ext/dom/php_dom.c @@ -342,7 +342,6 @@ void *php_dom_export_node(zval *object TSRMLS_DC) Get a simplexml_element object from dom to allow for processing */ PHP_FUNCTION(dom_import_simplexml) { -#ifdef HAVE_SIMPLEXML zval *rv = NULL; zval *node; xmlNodePtr nodep = NULL; @@ -362,10 +361,6 @@ PHP_FUNCTION(dom_import_simplexml) php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid Nodetype to import"); RETURN_NULL(); } -#else - php_error_docref(NULL TSRMLS_CC, E_WARNING, "SimpleXML support is not enabled"); - return; -#endif } /* }}} */ @@ -420,9 +415,6 @@ static zend_object_handlers* dom_get_obj_handlers(TSRMLS_D) { static zend_module_dep dom_deps[] = { ZEND_MOD_REQUIRED("libxml") ZEND_MOD_CONFLICTS("domxml") -#ifdef HAVE_SIMPLEXML - ZEND_MOD_REQUIRED("simplexml") -#endif {NULL, NULL, NULL} }; |
