Skip to content

Commit

Permalink
Remove Time::serverOffset()
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Crowe committed Oct 29, 2013
1 parent 97745a8 commit 2e28e0a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Cake/Utility/Time.php
Expand Up @@ -295,16 +295,6 @@ public static function timezone($timezone = null) {
return $tz;
}

/**
* Returns server's offset from GMT in seconds.
*
* @return integer Offset
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/time.html#TimeHelper::serverOffset
*/
public static function serverOffset() {
return date('Z', time());
}

/**
* Returns a UNIX timestamp, given either a UNIX timestamp or a valid strtotime() date string.
*
Expand Down

0 comments on commit 2e28e0a

Please sign in to comment.