Revert "Add CURL_WRAPPERS_ENABLE constant"

This reverts commit d7f709a032.
Since wrappers are deleted from 5.5, no point in adding this constant.
This commit is contained in:
Stanislav Malyshev 2013-04-28 22:25:40 -07:00
parent 7b9eabaf51
commit 4e773c1b92
2 changed files with 0 additions and 6 deletions

3
NEWS
View File

@ -11,9 +11,6 @@ PHP NEWS
response codes). (Sergey Akbarov)
. Fixed bugs #47675 and #64577 (fd leak on Solaris)
- CURL:
. Add CURL_WRAPPERS_ENABLED constant. (Laruence)
- Fileinfo:
. Upgraded libmagic to 5.14. (Anatol)

View File

@ -914,7 +914,6 @@ PHP_MINIT_FUNCTION(curl)
}
#ifdef PHP_CURL_URL_WRAPPERS
REGISTER_LONG_CONSTANT("CURL_WRAPPERS_ENABLED", 1, CONST_CS | CONST_PERSISTENT);
# if HAVE_CURL_VERSION_INFO
{
curl_version_info_data *info = curl_version_info(CURLVERSION_NOW);
@ -941,8 +940,6 @@ PHP_MINIT_FUNCTION(curl)
php_unregister_url_stream_wrapper("ldap");
php_register_url_stream_wrapper("ldap", &php_curl_wrapper TSRMLS_CC);
# endif
#else
REGISTER_LONG_CONSTANT("CURL_WRAPPERS_ENABLED", 0, CONST_CS | CONST_PERSISTENT);
#endif
return SUCCESS;