Posted by dstol on October 28, 2010 at 10:49pm
| Project: | Drupal core |
| Version: | 6.x-dev |
| Component: | documentation |
| Category: | task |
| Priority: | normal |
| Assigned: | dstol |
| Status: | closed (fixed) |
Issue Summary
Just some coding standard things to clean up http://api.drupal.org/api/function/menu_set_active_trail/6
Comments
#1
Here's the patch.
#2
Cleaning up is OK, but not a very high priority for Drupal 6 at this time. I'd also avoid filing huge cleanup patches for D7 (small ones like this would be OK).
This is not quite right:
+ * - type: A menu type constant, such as MENU_DEFAULT_LOCAL_TASK, or 0 to+ * indicate it's not really in the menu (used for the home page item).
Indentation on the 2nd line should be two additional spaces, not 3.
#3
Oh.
Actually, this same formatting problem exists in D7 too. We need to fix it there before we can accept a patch for D6.
#4
D6 fixup, D7 coming.
#5
D7 cleanup removing the single quotes.
#6
The D7 patch in #5 is fine. thanks.
The D6 patch in #4 is also fine. So after committing to D7, please set to D6 / RTBC, thanks...
#7
Committed to CVS HEAD. Thanks.
#8
Setting as RTBC for 6.x-dev as per #6
#9
Committed, thanks.
#10
Automatically closed -- issue fixed for 2 weeks with no activity.