Fix warning for postgresql installation

Remove unused function

git-svn-id: http://piwigo.org/svn/trunk@5267 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou
2010-03-22 20:31:53 +00:00
parent f4f8b96e97
commit d6fa0a5823
+1 -6
View File
@@ -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;