diff --git a/ext/intl/dateformat/dateformat_class.c b/ext/intl/dateformat/dateformat_class.c index 0f5eb06a240..c020d69d597 100644 --- a/ext/intl/dateformat/dateformat_class.c +++ b/ext/intl/dateformat/dateformat_class.c @@ -28,13 +28,6 @@ static zend_object_handlers IntlDateFormatter_handlers; * Auxiliary functions needed by objects of 'IntlDateFormatter' class */ -/* {{{ IntlDateFormatter_objects_dtor */ -static void IntlDateFormatter_object_dtor(zend_object *object ) -{ - zend_objects_destroy_object( object ); -} -/* }}} */ - /* {{{ IntlDateFormatter_objects_free */ void IntlDateFormatter_object_free( zend_object *object ) { @@ -116,7 +109,6 @@ void dateformat_register_IntlDateFormatter_class( void ) sizeof IntlDateFormatter_handlers); IntlDateFormatter_handlers.offset = XtOffsetOf(IntlDateFormatter_object, zo); IntlDateFormatter_handlers.clone_obj = IntlDateFormatter_object_clone; - IntlDateFormatter_handlers.dtor_obj = IntlDateFormatter_object_dtor; IntlDateFormatter_handlers.free_obj = IntlDateFormatter_object_free; } /* }}} */ diff --git a/ext/intl/timezone/timezone_class.cpp b/ext/intl/timezone/timezone_class.cpp index fcb2dc04ac0..212821c77bb 100644 --- a/ext/intl/timezone/timezone_class.cpp +++ b/ext/intl/timezone/timezone_class.cpp @@ -352,13 +352,6 @@ static void TimeZone_object_init(TimeZone_object *to) } /* }}} */ -/* {{{ TimeZone_objects_dtor */ -static void TimeZone_objects_dtor(zend_object *object) -{ - zend_objects_destroy_object(object); -} -/* }}} */ - /* {{{ TimeZone_objects_free */ static void TimeZone_objects_free(zend_object *object) { @@ -406,7 +399,6 @@ U_CFUNC void timezone_register_IntlTimeZone_class(void) TimeZone_handlers.clone_obj = TimeZone_clone_obj; TimeZone_handlers.compare = TimeZone_compare_objects; TimeZone_handlers.get_debug_info = TimeZone_get_debug_info; - TimeZone_handlers.dtor_obj = TimeZone_objects_dtor; TimeZone_handlers.free_obj = TimeZone_objects_free;