public function following($user_id = null, $my_id = null) { $this->parameter_need('user_id'); if ($this->page == 1) { $this->userControlPub($this->user_id); } parent::following($this->user_id, $this->current_user['user_id']); }
public function following($user_id = null, $my_id = null) { $this->check_login(); if ($this->page == 1) { $this->userControl(); } parent::following($this->current_user['user_id'], $this->current_user['user_id']); }