Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2009 at 17:28 UTC
Updated:
6 Jan 2010 at 17:40 UTC
There is an inline comment inside a t() function, that states "We don't use function_exists() here...". But function_exists() is actually used three lines below the comment.
I found that it was added with the patch in #407256: Make t() more robust. The feature was reverted, but the comment is still there. And it is really confusing.
| Comment | File | Size | Author |
|---|---|---|---|
| remove-comment.patch | 847 bytes | 20th |
Comments
Comment #1
jhodgdonThis looks quite reasonable, and should not break any tests (the patch simply removes three lines of misleading comments).
For future reference, v_20q, you should set the status of your issue to "Needs Review" when you attach a patch, so that it will be tested.
Comment #2
dries commentedCommitted to CVS HEAD. Thanks.
Comment #3
20th commented@jhodgdon
I didn't know that, thank you!
@Dries
Thank you very much!