diff options
author | Andrei Zmievski <andrei@php.net> | 2000-10-25 17:44:02 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2000-10-25 17:44:02 +0000 |
commit | f1dcb32c9fb395b68e0fe5d39dc3aa6bd7f8eff6 (patch) | |
tree | 6c90603474e1279c8124d0d442fc25385fc183a4 /ext/mcal/php_mcal.c | |
parent | 84681b9c814f04ce7eaaa6787051cf720944c78b (diff) | |
download | php-git-f1dcb32c9fb395b68e0fe5d39dc3aa6bd7f8eff6.tar.gz |
Use zend_register_list_destructors_ex() instead.
Diffstat (limited to 'ext/mcal/php_mcal.c')
-rw-r--r-- | ext/mcal/php_mcal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mcal/php_mcal.c b/ext/mcal/php_mcal.c index a06cdfc67c..132f7119c2 100644 --- a/ext/mcal/php_mcal.c +++ b/ext/mcal/php_mcal.c @@ -152,7 +152,7 @@ PHP_MINFO_FUNCTION(mcal) PHP_MINIT_FUNCTION(mcal) { - le_mcal = register_list_destructors(cal_close_it,NULL,"mcal"); + le_mcal = zend_register_list_destructors_ex(cal_close_it, NULL, "mcal", module_number); REGISTER_MAIN_LONG_CONSTANT("MCAL_SUNDAY",SUNDAY, CONST_PERSISTENT | CONST_CS); REGISTER_MAIN_LONG_CONSTANT("MCAL_MONDAY",MONDAY, CONST_PERSISTENT | CONST_CS); |