erlang/otp — pull request #514 by rokob (2014-10-22 06:42:04+00:00)
Title: Add helper function to reduce code duplication

I was going through application_controller.erl looking for why
something was behaving a certain way, saw a comment about removing
this duplicated code one day, and decided to move that a step forward.