diff --git a/webapp/mt/MarketBatch.php b/webapp/mt/MarketBatch.php index 7c1395c7..39472add 100644 --- a/webapp/mt/MarketBatch.php +++ b/webapp/mt/MarketBatch.php @@ -27,7 +27,7 @@ class MarketBatch { $currentMeta = $meta; continue; } - if (myself()->_getNowTime() > $meta['_start_time_utc']) { + if (myself()->_getNowTime() > $meta['start_time']) { return $meta; } } @@ -38,19 +38,6 @@ class MarketBatch { { if (!self::$metaList) { self::$metaList = getMetaTable('batch@market.php'); - foreach (self::$metaList as &$meta) { - if (empty($meta['start_time'])) { - $meta['_start_time_utc'] = 0; - } else { - $meta['_start_time_utc'] = strtotime($meta['start_time']) - $meta['world_time_zone'] * 3600; - } - - if (empty($meta['end_time'])) { - $meta['_end_time_utc'] = 0; - } else { - $meta['_end_time_utc'] = strtotime($meta['end_time']) - $meta['world_time_zone'] * 3600; - } - } } return self::$metaList; }