mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
fix not working sharing if primary DB node has failed
This commit is contained in:
parent
314fe706f5
commit
e805a02ef3
@ -432,7 +432,7 @@ class Db
|
||||
*/
|
||||
protected function _connect($Host)
|
||||
{
|
||||
if (!$this->Link_ID)
|
||||
if (!$this->Link_ID || $Host != $this->Link_ID->host)
|
||||
{
|
||||
$Database = $User = $Password = $Port = $Type = '';
|
||||
foreach(array('Database','User','Password','Port','Type') as $name)
|
||||
|
Loading…
Reference in New Issue
Block a user