Lines Matching defs:mute
16 public function mute($token='') {
17 //mute by token
23 $q = "UPDATE {$this->get_table_name()} SET mute=1 WHERE user_id=?";
25 //mute currently loged user
30 $q = "UPDATE {$this->get_table_name()} SET mute=1 WHERE user_id=?";
40 $q = "UPDATE {$this->get_table_name()} SET mute=0 WHERE user_id=?";
49 $q = "SELECT mute FROM {$this->get_table_name()} WHERE user_id=?";
51 $mute = $this->model->sqlite->res2single($r);
52 if ($mute === false) {
56 return $mute;
79 $q = "SELECT user_id FROM {$this->get_table_name()} WHERE mute=1";