Permalink
Browse files

Removing PHP4 compatibility code

Signed-off-by: mark_story <mark@mark-story.com>
  • Loading branch information...
1 parent bfcfeeb commit 957a75c45ed9e6466077132443f568e8b4947d6e Jelle Henkens committed with markstory Sep 7, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/Cake/Test/Case/View/Helper/TimeHelperTest.php
@@ -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;

0 comments on commit 957a75c

Please sign in to comment.