ソースを参照

Added missing keyword

ADmad 14 年 前
コミット
061483d03e
1 ファイル変更1 行追加1 行削除
  1. 1 1
      lib/Cake/Utility/CakeTime.php

+ 1 - 1
lib/Cake/Utility/CakeTime.php

@@ -219,7 +219,7 @@ class CakeTime {
  * 	If null it tries to get timezone from 'Config.timezone' config var
  * @return DateTimeZone Timezone object
  */
-	public function timezone($timezone = null) {
+	public static function timezone($timezone = null) {
 		static $tz = null;
 
 		if (is_object($timezone)) {