function chr_enable in cURL HTTP Request 7
Implements hook_enable().
File
- ./
chr.install, line 11 - Install tasks for chr.
Code
function chr_enable() {
// Enable the override.
if (variable_get('chr_override_drupal_http_request', FALSE)) {
variable_set('chr_original_http_request_function_value', variable_get('drupal_http_request_function', FALSE));
variable_set('drupal_http_request_function', 'chr_curl_http_request');
}
}