There are unnecessary variables being used in the comment threading code.

The attached patch simplifies things.

CommentFileSizeAuthor
#4 patch.txt2.02 KBwebernet
#3 patch.txt2.02 KBwebernet
patch.txt2.04 KBwebernet
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chx’s picture

good but Count Zero :) is written as while ($div--)

catch’s picture

Status: Needs review » Needs work

CNW then.

webernet’s picture

Status: Needs work » Needs review
FileSize
2.02 KB
webernet’s picture

FileSize
2.02 KB

Slightly safer.

chx’s picture

Status: Needs review » Reviewed & tested by the community

Yay simpler code! Works. Thanks!

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thanks. :-)

Anonymous’s picture

Status: Fixed » Closed (fixed)

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