summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-04-08 21:14:50 +0000
committerZeev Suraski <zeev@php.net>1999-04-08 21:14:50 +0000
commit9d8e0db38f3e489bec8e2f50b223800964f9e089 (patch)
tree58e43a0c83f4f8dbe0e9357e4c5f833a97a455bf /Zend/zend_API.c
parentf2d5ca74829a59fea3755f42ec5b4ab0d0a6b453 (diff)
downloadphp-git-9d8e0db38f3e489bec8e2f50b223800964f9e089.tar.gz
* Add arguments to shutdown functions
* Remove traces of php_ini stuff
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c6
1 files changed, 3 insertions, 3 deletions
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;