removed some bogus code

This commit is contained in:
Hartmut Holzgraefe 2000-10-31 11:32:05 +00:00
parent c420d653ee
commit 604876542a

View file

@ -110,16 +110,12 @@ PHPAPI int php_unregister_url_wrapper(char *protocol)
int php_init_fopen_wrappers(void)
{
int status = SUCCESS;
PLS_FETCH();
if(PG(allow_url_fopen)) {
if (zend_hash_init(&fopen_url_wrappers_hash, 0, NULL, NULL, 1)==FAILURE) {
return FAILURE;
}
}
if(PG(allow_url_fopen))
return zend_hash_init(&fopen_url_wrappers_hash, 0, NULL, NULL, 1);
return status;
return SUCCESS;
}
int php_shutdown_fopen_wrappers(void)