Problem/Motivation
According to #2205673: [META] Remove all @deprecated functions marked "remove before 8.0" this issue #2184907: Remove uses of drupal_add_http_header and related functions removes _drupal_set_preferred_header_name().
But that's not the case, so let's remove it.
Proposed resolution
Remove _drupal_set_preferred_header_name().
Remaining tasks
User interface changes
API changes
Data model changes
Beta phase evaluation
| Issue category | Task, because it is a removal of dead code |
|---|---|
| Issue priority | Normal, because the impact is not high. |
| Disruption | No discruption, it is an internal function. If someone called it before, its their own fault. |
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2549041_1.patch | 1.19 KB | mile23 |
Comments
Comment #2
mile23Simple removal of the function and the only place it's used.
There should be a place to store a lookup table for common cases for headers; I'm not sure where that is.
Comment #3
andypostComment #4
andypost+1, deadcode--
Comment #5
dawehnerYeah less things to do. It is also an internal method ... so we can certainly drop it.
Comment #6
alexpottCommitted e6479e4 and pushed to 8.0.x. Thanks!