Seems results of that call doesn't used, and parameters didn't modified be reference.

Files: 
CommentFileSizeAuthor
#1 remove-useless-node_type_get_type-call-1886870.patch657 bytesIRuslan
PASSED: [[SimpleTest]]: [MySQL] 39,694 pass(es).
[ View ]

Comments

StatusFileSize
new657 bytes
PASSED: [[SimpleTest]]: [MySQL] 39,694 pass(es).
[ View ]

Patch is added.

Status:Needs review» Reviewed & tested by the community

Patch does remove an unneeded call to node_type_get_type.

Status:Reviewed & tested by the community» Fixed

Looks good, and looks like the equivalent code in Drupal 8 does not have this issue.

Committed to 7.x - thanks! http://drupalcode.org/project/drupal.git/commit/6bcb0a3

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Issue summary:View changes

Fix typo.