mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 09:22:21 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user