diff --git a/phpgwapi/inc/class.db.inc.php b/phpgwapi/inc/class.db.inc.php index 0a0ca222ff..79582197bb 100644 --- a/phpgwapi/inc/class.db.inc.php +++ b/phpgwapi/inc/class.db.inc.php @@ -550,6 +550,8 @@ /** * 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 * @return int sequence id */ @@ -646,6 +648,7 @@ */ function table_names() { + $this->connect(); $result = array(); $tables = $this->Link_ID->MetaTables('TABLES'); if (is_array($tables))