fix: DB slaves were not being instanciated correctly.
This commit is contained in:
parent
60cf61685e
commit
46427b4f97
2 changed files with 2 additions and 1 deletions
|
|
@ -18,6 +18,7 @@
|
|||
appropriately. This fixes the problem with CS posts sent via
|
||||
e-mail showing two versions of the same post.
|
||||
- fix: Styles were printing double head block headers.
|
||||
- fix: DB slaves were not being instanciated correctly.
|
||||
|
||||
7.3.3
|
||||
- fix: Wiki Purge throws fatal
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ sub dbSlave {
|
|||
foreach (1..3) {
|
||||
my $slave = $self->config->get("dbslave".$_);
|
||||
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}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue