Skip to content
Permalink
Browse files

Simplify the cake time class

Removed a lot of nested ?: code and nested if/else statements broken down
with early return. Moving a few variables lower down the function calls as
there are times when they are not even needed.

Also removed setting variables that are returned on the next line.
  • Loading branch information...
dogmatic69 committed Sep 12, 2012
1 parent b227ff4 commit 95b895b19a42150410294d28c4743ed012ae7e4c
Showing with 128 additions and 128 deletions.
  1. +128 −128 lib/Cake/Utility/CakeTime.php
Oops, something went wrong.

0 comments on commit 95b895b

Please sign in to comment.
You can’t perform that action at this time.