discourse/discourse — pull request #888 by novemberkilo (2013-05-23 16:16:37+00:00)
Title: Refactor to reduce complexity of Post#save_reply_relationships

Continuing to refactor complex methods of Post.

The following are the results of the changes in this PR:

| | Post | save_reply_relationships |
| ------------- | -------------:| -----:|
| flog score before | 560 | 35.7 |
| flog score after | 550 | 13.2 |