diff options
author | Marcus Boerger <helly@php.net> | 2004-07-25 18:50:24 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2004-07-25 18:50:24 +0000 |
commit | aae7a83df4591842035adc34b1dfc9fcbb1dd206 (patch) | |
tree | 59693a4d252d6cc48601407ae58f4f14f86fc342 /ext/dom/php_dom.c | |
parent | 7e914380c9bef74f80ca9c96e033811ea4adee54 (diff) | |
download | php-git-aae7a83df4591842035adc34b1dfc9fcbb1dd206.tar.gz |
- Fixed Bug #29354 Exception constructor marked as both public and
protected
# If the constructor should be protected then it needs to be overwritten
# with a method that simply calls the parent, this function simply changes
# the visibility of the original function and makes that (public+protected)
Diffstat (limited to 'ext/dom/php_dom.c')
-rw-r--r-- | ext/dom/php_dom.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c index 8c2857e64f..ac7a5ae1fc 100644 --- a/ext/dom/php_dom.c +++ b/ext/dom/php_dom.c @@ -384,7 +384,6 @@ PHP_MINIT_FUNCTION(dom) 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->ce_flags |= ZEND_ACC_FINAL; - dom_domexception_class_entry->constructor->common.fn_flags |= ZEND_ACC_PROTECTED; zend_declare_property_long(dom_domexception_class_entry, "code", sizeof("code")-1, 0, ZEND_ACC_PUBLIC TSRMLS_CC); REGISTER_DOM_CLASS(ce, "DOMStringList", NULL, php_dom_domstringlist_class_functions, dom_domstringlist_class_entry); |