diff --git a/include/lib/database_core.class.php b/include/lib/database_core.class.php index 4e4bac2dc..2bcba2307 100644 --- a/include/lib/database_core.class.php +++ b/include/lib/database_core.class.php @@ -75,44 +75,10 @@ class DatabaseCore } $this->is_open = TRUE; + } - /** - * Connect by DSN : description of database connection like - * return a Database_Core object - * @code - * port=6002 host=x.x.x.x dbname=dbname user=admin password=www - * @endcode - * - * @param string $p_dsn describing the connection - * - */ - function connect_dsn($p_dsn) - { - $this->db =pg_connect($p_dsn); - if ( $this->db == false ) - { - if (DEBUG) { - echo '
';
- echo "Vos paramètres sont incorrectes :
";
- echo "
";
- echo "base de donnée : $p_dsn
";
- echo '