diff --git a/.travis.yml b/.travis.yml index 2b7625a56b..2bab6a47df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -71,9 +71,9 @@ script: # install egroupware (PostgreSQL need some specific handling as it is not the default and we can not create users via sql) - case $DB in postgres) - php doc/rpm-build/post_install.php --db_type pgsql --db_port 5432 --db_user postgres --db_pass '' --db_root postgres --db_root_pw '' + psql -U postgres -c 'create database egroupware'; + php doc/rpm-build/post_install.php --db_type pgsql --db_port 5432 --db_user postgres --db_pass '' --source_dir `pwd` --start_db '' --autostart_db '' --start_webserver '' --webserver_user '' - ; psql -U postgres -c '\l' ;; *) php doc/rpm-build/post_install.php diff --git a/api/src/Db.php b/api/src/Db.php index c19c15f7af..f2b52949ee 100644 --- a/api/src/Db.php +++ b/api/src/Db.php @@ -1065,13 +1065,12 @@ class Db default: throw new Exception\WrongParameter(__METHOD__."(user=$adminname, \$pw) not yet implemented for DB-type '$this->Type'"); } - error_log(__METHOD__."() this->Type=$this->Type: sqls=".array2string($sqls)); + //error_log(__METHOD__."() this->Type=$this->Type: sqls=".array2string($sqls)); foreach($sqls as $sql) { $this->query($sql,__LINE__,__FILE__); } $this->disconnect(); - error_log(__METHOD__."() this->Type=$this->Type: sqls run, disconnecting now as admin"); $this->User = $currentUser; $this->Password = $currentPassword;