You are here

function DB_mysql::disconnect in Flickr API 5

Disconnects from the database server

Return value

bool TRUE on success, FALSE on failure

File

phpFlickr/PEAR/DB/mysql.php, line 274

Class

DB_mysql
The methods PEAR DB uses to interact with PHP's mysql extension for interacting with MySQL databases

Code

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