Closed (fixed)
Project:
Protected Node
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2012 at 11:30 UTC
Updated:
30 May 2012 at 15:06 UTC
Currently, the code does not meet the drupal coding standards. See http://drupal.org/node/1354 and http://drupal.org/coding-standards. This should be fixed.
Original issue description:
Coder module highlighted a few areas which need addressing, like strings not being run through t() and some style issues. The attached patch corrects those issues.
| Comment | File | Size | Author |
|---|---|---|---|
| protected_node-d7_code_cleanup.patch | 5.92 KB | barrett |
Comments
Comment #1
zilverdistel commentedHi Barrett,
The patch looks good but it does not apply to the latest git. Can you please reroll? Also, there's more work on this than the changes included by the patch. A lot of comments do not follow the code standards (Inline comments should start with a capital and end with a period or other punctuation mark. Comments cannot exceed the 80 characters on a line limit. Probably more things to be fixed ...).
Thank you,
Diederik
Comment #2
zilverdistel commentedComment #3
zilverdistel commentedCommitted: http://drupalcode.org/project/protected_node.git/commit/431611d
Comment #3.0
zilverdistel commentedUpdated issue summary.