Mark Scherer 10 年 前
コミット
e4051421a2
1 ファイル変更0 行追加3 行削除
  1. 0 3
      src/Utility/Time.php

+ 0 - 3
src/Utility/Time.php

@@ -530,9 +530,6 @@ class Time extends CakeTime {
 		if ($options['timezone'] === null && strlen($dateString) === 10) {
 			$options['timezone'] = date_default_timezone_get();
 		}
-		if ($dateString === null) {
-			$dateString = time();
-		}
 
 		if ($options['timezone']) {
 			$options['timezone'] = static::safeCreateDateTimeZone($options['timezone']);