$this->target->whereAdd('MATCH(nickname, fullname, location, bio, homepage) ' .
'AGAINST (\''.$this->target->escape(strtolower($q)).'\' IN BOOLEAN MODE)', 'OR');
}
- return true;
} else if ('notice' === $this->table) {
// Don't show imported notices
'AGAINST (\''.$this->target->escape($q).'\' IN BOOLEAN MODE)');
}
- return true;
} else {
throw new ServerException('Unknown table: ' . $this->table);
}
+
+ return true;
}
}