|
|
@@ -93,13 +93,11 @@ class TimerSubscribe
|
|
|
$tm = localtime(time(), true);
|
|
|
|
|
|
// 缓存排行榜
|
|
|
- Log::warning("onTimer_60()" . $tm['tm_hour'] . ':' . $tm['tm_min']);
|
|
|
if (intval($tm['tm_min']) % 5 == 0) {
|
|
|
- Log::warning("board updated.");
|
|
|
$ctl = new UserBoardController();
|
|
|
$ctl->cache_board();
|
|
|
// TODO: for testing, remove line below
|
|
|
- SystemCarousel::add('who will win next race?', '/pages/leader_board/index');
|
|
|
+ // SystemCarousel::add('who will win next race?', '/pages/leader_board/index');
|
|
|
}
|
|
|
|
|
|
if (intval($tm['tm_min']) == 0) {
|