HTTP_REQUET_TIMEOUT definition conflicts with DRUPAL 7 definition
-----------------------------------------------------------------
Key: CMIS-297
URL: https://issues.apache.org/jira/browse/CMIS-297
Project: Chemistry
Issue Type: Improvement
Components: cmis-phplib
Reporter: Richard McKnight
Starting in Drupal7 HTTP_REQUEST_TIMEOUT is defined in common.inc
It is defined as 1 as an error code in drupal_http_request.
More information here:
http://api.drupal.org/api/drupal/includes--common.inc/constant/HTTP_REQUEST_TIMEOUT/7
Possible remedies
- This definition is not used in our code, so it could be commented out for
now
- Rename just this one to something that does not conflict
- Rename all of the constants to something like CMIS_HTTP_REQUEST_TIMEOUT to
effectively create a namespace for the constants used internally
For now I will just change this to xHTTP_REQUEST_TIMEOUT but leave this issue
open
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.