Added missing keyword

This commit is contained in:
ADmad 2012-04-25 11:03:26 +05:30
parent 10a4b87979
commit 061483d03e

View file

@ -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)) {