cakephp/cakephp — pull request #2187 by bar (2013-10-24 08:16:19+00:00)
Title: Optimize conditionals and reduce lookups.

Also, make the code easier to read removing unneded indentations.