_field_info_prepare_instance calls the function field_info_field_types, but its return value is never used. field_info_field_types does not appear to make any state changes on its own (aside from storing its result in a cache), so this appears to serve no purpose.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | remove_call-2_1067806.patch | 526 bytes | starsinmypockets |
Comments
Comment #1
yched commentedTrue. Probably a leftover after some refactoring. Care to roll a patch ? :-)
Comment #2
yched commentedComment #3
starsinmypockets commentedHere's the patch... this is my first submitted patch does this look ok?
Comment #4
starsinmypockets commentedSorry, the last patch introduced some whitespace. This one doesn't.
Comment #5
robloachNice work on the patch :-) . Webchick won't commit anything unless it's in the Drupal 8.x branch first though. Looking at the code, the patch should be okay to go. Let's check with the Test Bot!
Comment #6
starsinmypockets commentedComment #7
dries commentedCommitted to 7.x and 8.x.