mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
fix to automatically connect before quering the tables, needed for setup->configuration (with ADOdb enabled)
This commit is contained in:
parent
0c6b822fea
commit
dbfd796382
@ -550,6 +550,8 @@
|
|||||||
/**
|
/**
|
||||||
* Get the id for the next sequence - not implemented!
|
* Get the id for the next sequence - not implemented!
|
||||||
*
|
*
|
||||||
|
* This seems not to be used anywhere in eGroupWhere !!!
|
||||||
|
*
|
||||||
* @param string $seq_name name of the sequence
|
* @param string $seq_name name of the sequence
|
||||||
* @return int sequence id
|
* @return int sequence id
|
||||||
*/
|
*/
|
||||||
@ -646,6 +648,7 @@
|
|||||||
*/
|
*/
|
||||||
function table_names()
|
function table_names()
|
||||||
{
|
{
|
||||||
|
$this->connect();
|
||||||
$result = array();
|
$result = array();
|
||||||
$tables = $this->Link_ID->MetaTables('TABLES');
|
$tables = $this->Link_ID->MetaTables('TABLES');
|
||||||
if (is_array($tables))
|
if (is_array($tables))
|
||||||
|
Loading…
Reference in New Issue
Block a user