diff --git a/control/weibo.php b/control/weibo.php index e1a0339..8377d3e 100644 --- a/control/weibo.php +++ b/control/weibo.php @@ -7,9 +7,7 @@ include_once(dirname(dirname(__FILE__)) . "/library/publicBase.php"); class weibo extends publicBase { - public function home() { - $this->view['nickname'] = $_SESSION['nickname']; - } + public function home() {} public function ajax_weibo_list() { $status = $this->post('status') + 0; diff --git a/view/templates/index/user_list.html b/view/templates/index/user_list.html index 3ccd1e3..36b656f 100644 --- a/view/templates/index/user_list.html +++ b/view/templates/index/user_list.html @@ -61,7 +61,7 @@