phpbb\search\fulltext_postgres::init PHP Method

init() public method

Checks for correct PostgreSQL version and stores min/max word length in the config
public init ( ) : string | boolean
return string | boolean Language key of the error/incompatiblity occurred
    public function init()
    {
        if ($this->db->get_sql_layer() != 'postgres') {
            return $this->user->lang['FULLTEXT_POSTGRES_INCOMPATIBLE_DATABASE'];
        }
        return false;
    }