Make db->init() more sensible, config->db_connect is the only one handling the db connection (remote db->init from config->new)

This commit is contained in:
2025-07-06 15:23:44 +02:00
parent 2806ce4948
commit 058792486c
2 changed files with 3 additions and 6 deletions

View File

@@ -20,7 +20,6 @@ sub new {
$self->{'localcheck'} = My::parser::localcheck->new;
$self->{'block'} = My::parser::block->new($self->{'config'});
$self->{'db'} = My::parser::db->new($self->{'config'});
$self->{'db'}->init();
$self->{'config'}->set_db($self->{'db'});
return $self;
}