From 8ed8b011ef775cae2f56af12a5a2fcc0238c7396 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 22 Aug 2008 15:28:29 +0000 Subject: Removed redundant code --- Zend/zend_list.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Zend/zend_list.c') diff --git a/Zend/zend_list.c b/Zend/zend_list.c index 6f13f5ce6c..2fdb600285 100644 --- a/Zend/zend_list.c +++ b/Zend/zend_list.c @@ -253,10 +253,6 @@ static int clean_module_resource(zend_rsrc_list_entry *le, int *resource_id TSRM static int zend_clean_module_rsrc_dtors_cb(zend_rsrc_list_dtors_entry *ld, int *module_number TSRMLS_DC) { if (ld->module_number == *module_number) { -#if 0 - /* EG(resource_list) is already destroied in this point */ - zend_hash_apply_with_argument(&EG(regular_list), (apply_func_arg_t) clean_module_resource, (void *) &(ld->resource_id) TSRMLS_CC); -#endif zend_hash_apply_with_argument(&EG(persistent_list), (apply_func_arg_t) clean_module_resource, (void *) &(ld->resource_id) TSRMLS_CC); return 1; } else { -- cgit v1.2.1