mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
fixed PHP Fatal error: Call to a member function MetaTables() on a non-object, when non-default apps like esyncpro got installed/updated
This commit is contained in:
parent
16c5a62ed4
commit
f472ff10ee
@ -105,6 +105,7 @@ class db_backup
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->db = $this->schema_proc->m_odb;
|
$this->db = $this->schema_proc->m_odb;
|
||||||
|
if (!$this->db->Link_ID) $this->db->connect();
|
||||||
$this->adodb = $this->db->Link_ID;
|
$this->adodb = $this->db->Link_ID;
|
||||||
if (isset($GLOBALS['egw_setup']) && is_object($GLOBALS['egw_setup'])) // called from setup
|
if (isset($GLOBALS['egw_setup']) && is_object($GLOBALS['egw_setup'])) // called from setup
|
||||||
{
|
{
|
||||||
|
@ -112,7 +112,7 @@ class schema_proc
|
|||||||
$this->m_odb->connect();
|
$this->m_odb->connect();
|
||||||
$this->capabilities =& $this->m_odb->capabilities;
|
$this->capabilities =& $this->m_odb->capabilities;
|
||||||
|
|
||||||
$this->sType = $dbms ? $dmbs : $this->m_odb->Type;
|
$this->sType = $dbms ? $dbms : $this->m_odb->Type;
|
||||||
$this->adodb = &$this->m_odb->Link_ID;
|
$this->adodb = &$this->m_odb->Link_ID;
|
||||||
$this->dict = NewDataDictionary($this->adodb);
|
$this->dict = NewDataDictionary($this->adodb);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user