I use this module on my site vigillar.se together with my Vote up/down module and I really like it!
I wanted to contribute in some way so I made the code follow the Drupal coding standard a little closer. There should be no change in how the module function, at least I hope so. I have looked at things like:
* Two spaces in place of one tab
* Always a space after a colon
* valid xhtml <br /> not <br>
* Avoid using "..." if not necessary, use '...' instead
* Only use uppercase at start of sentence/string
* Made all comments in the following style
/**
* Comment here.
*/
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | cre_clean_01_patches.zip | 16.46 KB | frjo |
Comments
Comment #1
frjo commentedAnd the patch that I missed to add to the first post.
Comment #2
Scott Reynolds commentedOutstanding! Thank you for this. I know you mention this earlier and I managed to forget about out. Thank you for taking the time to clean up my work. Its pretty now.
Comment #3
frjo commentedJust a reminder to make sure you noticed that the file above includes patches for all the module files.
cre:
cre.module_clean_01.patch
recommendation_modules:
comment_recommendation.module_clean_01.patch
node_recommendation.module_clean_01.patch
user_recommendation.module_clean_01.patch
I also think it would be best to rename "Recommendation Modules" to something like "recommendation_modules" without spaces and uppercase.
Comment #4
hickory commented