You are here

function DB_pgsql::disconnect in Flickr API 5

Disconnects from the database server

Return value

bool TRUE on success, FALSE on failure

File

phpFlickr/PEAR/DB/pgsql.php, line 301

Class

DB_pgsql
The methods PEAR DB uses to interact with PHP's pgsql extension for interacting with PostgreSQL databases

Code

function disconnect() {
  $ret = @pg_close($this->connection);
  $this->connection = null;
  return $ret;
}