code review by fei.hong: modify home page recordContent get udid test
Showing
1 changed file
with
1 additions
and
4 deletions
@@ -203,10 +203,7 @@ class HomeController extends AbstractAction | @@ -203,10 +203,7 @@ class HomeController extends AbstractAction | ||
203 | 203 | ||
204 | if ($this->isAjax()) { | 204 | if ($this->isAjax()) { |
205 | $uid = $this->getUid(true); | 205 | $uid = $this->getUid(true); |
206 | - $udid = $this->getCookie('suid'); | ||
207 | - if (!$udid) { | ||
208 | - $udid = $uid . $this->getUdid(); | ||
209 | - } | 206 | + $udid = $this->getUdid(); |
210 | $page = $this->get('page', 1); | 207 | $page = $this->get('page', 1); |
211 | $result = UserModel::browserRecord($uid, $udid, $page, 100); | 208 | $result = UserModel::browserRecord($uid, $udid, $page, 100); |
212 | } | 209 | } |
-
Please register or login to post a comment