This commit is contained in:
Ralf Becker 2007-12-09 22:48:53 +00:00
parent e1c115d310
commit 3a6b8ce799

View File

@ -41,7 +41,7 @@ class setup_cmd_database extends setup_cmd
{ {
if (!is_array($domain)) if (!is_array($domain))
{ {
$data = array( $domain = array(
'domain' => $domain, 'domain' => $domain,
'db_type' => $db_type, 'db_type' => $db_type,
'db_host' => $db_host, 'db_host' => $db_host,
@ -115,7 +115,7 @@ class setup_cmd_database extends setup_cmd
private function connect($user=null,$pass=null,$name=null) private function connect($user=null,$pass=null,$name=null)
{ {
if (is_null($user)) $user = $this->db_user; if (is_null($user)) $user = $this->db_user;
if (is_null($pass)) $pass = $this->db_name; if (is_null($pass)) $pass = $this->db_pass;
if (is_null($name)) $name = $this->db_name; if (is_null($name)) $name = $this->db_name;
$this->test_db = new egw_db(); $this->test_db = new egw_db();