summaryrefslogtreecommitdiff
path: root/ext/mcal/php_mcal.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mcal/php_mcal.c')
-rw-r--r--ext/mcal/php_mcal.c2
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);