diff options
author | Marcus Boerger <helly@php.net> | 2006-05-10 00:00:13 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2006-05-10 00:00:13 +0000 |
commit | 77c1b56cd759b8fd819976a5aa7c40b5268a81f4 (patch) | |
tree | 068e4b951e7551359e9f8fc978fa24633f7097d8 /ext/dom/php_dom.c | |
parent | 11f26c2c2a3f41863347fcabddd6f1097518ce99 (diff) | |
download | php-git-77c1b56cd759b8fd819976a5aa7c40b5268a81f4.tar.gz |
- Update after api changes
Diffstat (limited to 'ext/dom/php_dom.c')
-rw-r--r-- | ext/dom/php_dom.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c index 1180c73b82..07262a8d49 100644 --- a/ext/dom/php_dom.c +++ b/ext/dom/php_dom.c @@ -464,11 +464,7 @@ static zend_function_entry dom_functions[] = { }; static zend_object_handlers* dom_get_obj_handlers(TSRMLS_D) { - if (EG(ze1_compatibility_mode)) { - return &dom_ze1_object_handlers; - } else { - return &dom_object_handlers; - } + return &dom_object_handlers; } static zend_module_dep dom_deps[] = { @@ -517,7 +513,7 @@ PHP_MINIT_FUNCTION(dom) zend_hash_init(&classes, 0, NULL, NULL, 1); INIT_CLASS_ENTRY(ce, "DOMException", php_dom_domexception_class_functions); - dom_domexception_class_entry = zend_register_internal_class_ex(&ce, zend_exception_get_default(), NULL TSRMLS_CC); + dom_domexception_class_entry = zend_register_internal_class_ex(&ce, zend_exception_get_default(TSRMLS_C), NULL TSRMLS_CC); dom_domexception_class_entry->ce_flags |= ZEND_ACC_FINAL; zend_declare_property_long(dom_domexception_class_entry, "code", sizeof("code")-1, 0, ZEND_ACC_PUBLIC TSRMLS_CC); |