Authored by Rock Zhang

去除无用的代码

@@ -122,7 +122,6 @@ class HomeController extends AbstractAction @@ -122,7 +122,6 @@ class HomeController extends AbstractAction
122 $result = array(); 122 $result = array();
123 123
124 if ($this->isAjax()) { 124 if ($this->isAjax()) {
125 - $uid = $this->getUid();  
126 $fav_id = $this->post('id', 0); 125 $fav_id = $this->post('id', 0);
127 126
128 $result = UserModel::favoriteDelete($this->_uid, $fav_id); 127 $result = UserModel::favoriteDelete($this->_uid, $fav_id);