mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
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:
parent
7b9eabaf51
commit
4e773c1b92
3
NEWS
3
NEWS
@ -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)
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user