fix: DB slaves were not being instanciated correctly.

This commit is contained in:
Doug Bell 2007-01-09 16:40:16 +00:00
parent 60cf61685e
commit 46427b4f97
2 changed files with 2 additions and 1 deletions

View file

@ -18,6 +18,7 @@
appropriately. This fixes the problem with CS posts sent via appropriately. This fixes the problem with CS posts sent via
e-mail showing two versions of the same post. e-mail showing two versions of the same post.
- fix: Styles were printing double head block headers. - fix: Styles were printing double head block headers.
- fix: DB slaves were not being instanciated correctly.
7.3.3 7.3.3
- fix: Wiki Purge throws fatal - fix: Wiki Purge throws fatal

View file

@ -186,7 +186,7 @@ sub dbSlave {
foreach (1..3) { foreach (1..3) {
my $slave = $self->config->get("dbslave".$_); my $slave = $self->config->get("dbslave".$_);
if (exists $slave->{dsn}) { if (exists $slave->{dsn}) {
push(@{$self->{_slave}},$self->db->connect($self, $slave->{dsn},$slave->{user},$slave->{pass})); push(@{$self->{_slave}},WebGUI::SQL->connect($self, $slave->{dsn},$slave->{user},$slave->{pass}));
} }
} }
} }