Skip to content

Commit

Permalink
Removing PHP4 compatibility code
Browse files Browse the repository at this point in the history
Signed-off-by: mark_story <mark@mark-story.com>
  • Loading branch information
Jelle Henkens authored and markstory committed Sep 21, 2011
1 parent bfcfeeb commit 957a75c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Cake/Test/Case/View/Helper/TimeHelperTest.php
Expand Up @@ -600,8 +600,6 @@ public function testWasWithinLast() {
* @return void
*/
public function testUserOffset() {
$this->skipIf(!class_exists('DateTimeZone'), 'DateTimeZone class not available.');

$timezoneServer = new DateTimeZone(date_default_timezone_get());
$timeServer = new DateTime('now', $timezoneServer);
$yourTimezone = $timezoneServer->getOffset($timeServer) / HOUR;
Expand Down

0 comments on commit 957a75c

Please sign in to comment.