cakephp/cakephp — pull request #999 by dogmatic69 (2012-12-03 15:33:19+00:00)
Title: simplify some model code

remove nested if's and else where possible and early return.