function coder_upgrade_upgrade_call_drupal_get_headers_alter in Coder 7
Same name and namespace in other branches
- 7.2 coder_upgrade/conversions/call.inc \coder_upgrade_upgrade_call_drupal_get_headers_alter()
Implements hook_upgrade_call_drupal_get_headers_alter().
File
- coder_upgrade/
conversions/ call.inc, line 969 - Provides conversion routines applied to function calls.
Code
function coder_upgrade_upgrade_call_drupal_get_headers_alter(&$node, &$reader) {
// DONE
// Create helper objects.
$editor = PGPEditor::getInstance();
// Get the function call object.
$item =& $node->data;
// Process function call.
$name =& $item->name;
// $name['value'] = 'drupal_get_header'; // Overwritten by following change.
// http://drupal.org/node/224333#drupal_set_header_renamed
$name['value'] = 'drupal_get_http_header';
}