aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/dblayer/functions_pgsql.inc.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/dblayer/functions_pgsql.inc.php b/include/dblayer/functions_pgsql.inc.php
index 5c928c53c..df1ce2649 100644
--- a/include/dblayer/functions_pgsql.inc.php
+++ b/include/dblayer/functions_pgsql.inc.php
@@ -49,7 +49,7 @@ function pwg_db_connect($host, $user, $password, $database)
$user,
$password,
$database);
- $link = pg_connect($connection_string);
+ $link = @pg_connect($connection_string);
if (!$link)
{
throw new Exception("Can't connect to server");
@@ -60,11 +60,6 @@ function pwg_db_connect($host, $user, $password, $database)
}
}
-function pwg_select_db($database=null, $link=null, $die=null)
-{
- return true;
-}
-
function pwg_db_check_charset()
{
return true;