From e0fef0c0a6668a07af166ceb6f696629eb81f310 Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Mon, 7 Jan 2013 03:34:48 +0000 Subject: [PATCH] * need not dates. --- module/my/control.php | 1 - 1 file changed, 1 deletion(-) diff --git a/module/my/control.php b/module/my/control.php index 26821731ad..d7335ed522 100644 --- a/module/my/control.php +++ b/module/my/control.php @@ -85,7 +85,6 @@ class my extends control $this->view->position[] = $this->lang->my->todo; /* Assign. */ - $this->view->dates = $this->loadModel('date')->buildDateList(); $this->view->todos = $this->loadModel('todo')->getList($type, $account, $status, 0, $pager, $orderBy); $this->view->date = (int)$type == 0 ? date(DT_DATE1) : date(DT_DATE1, strtotime($type)); $this->view->type = is_numeric($type) ? 'bydate' : $type;