Browse Source

Don't need MSHUTDOWN either here

PHP-5.1
Rasmus Lerdorf 21 years ago
parent
commit
bf7cb1179a
  1. 1
      ext/tidy/php_tidy.h
  2. 8
      ext/tidy/tidy.c

1
ext/tidy/php_tidy.h

@ -40,7 +40,6 @@ extern zend_module_entry tidy_module_entry;
#define TIDY_ATTR_ME(name, param) TIDY_METHOD_MAP(name, tam_ ##name, param)
PHP_MINIT_FUNCTION(tidy);
PHP_MSHUTDOWN_FUNCTION(tidy);
PHP_RINIT_FUNCTION(tidy);
PHP_MINFO_FUNCTION(tidy);

8
ext/tidy/tidy.c

@ -295,7 +295,7 @@ zend_module_entry tidy_module_entry = {
"tidy",
tidy_functions,
PHP_MINIT(tidy),
PHP_MSHUTDOWN(tidy),
NULL,
PHP_RINIT(tidy),
NULL,
PHP_MINFO(tidy),
@ -929,12 +929,6 @@ PHP_MINIT_FUNCTION(tidy)
return SUCCESS;
}
PHP_MSHUTDOWN_FUNCTION(tidy)
{
return SUCCESS;
}
PHP_RINIT_FUNCTION(tidy)
{
if (INI_BOOL("tidy.clean_output") == TRUE) {

Loading…
Cancel
Save