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