From 9d8e0db38f3e489bec8e2f50b223800964f9e089 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Thu, 8 Apr 1999 21:14:50 +0000 Subject: * Add arguments to shutdown functions * Remove traces of php_ini stuff --- Zend/zend_API.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Zend/zend_API.c') diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 6ab3072457..3dfea5f121 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -617,14 +617,14 @@ void module_destructor(zend_module_entry *module) #if 0 zend_printf("%s: Request shutdown\n",module->name); #endif - module->request_shutdown_func(); + module->request_shutdown_func(module->type, module->module_number); } module->request_started=0; if (module->module_started && module->module_shutdown_func) { #if 0 zend_printf("%s: Module shutdown\n",module->name); #endif - module->module_shutdown_func(); + module->module_shutdown_func(module->type, module->module_number); } module->module_started=0; unregister_functions(module->functions,-1); @@ -662,7 +662,7 @@ int module_registry_cleanup(zend_module_entry *module) #if 0 zend_printf("%s: Request shutdown\n",module->name); #endif - module->request_shutdown_func(); + module->request_shutdown_func(module->type, module->module_number); } module->request_started=0; return 0; -- cgit v1.2.1