You are here

public function FrxMSSQL::__destruct in Forena Reports 7.5

Destructor - Closes database connections.

File

src/Driver/FrxMSSQL.php, line 237
Oracle specific driver that takes advantage of oracles native XML support

Class

FrxMSSQL

Namespace

Drupal\forena\Driver

Code

public function __destruct() {
  $db = $this->db;
  if ($db) {
    mssql_close($db);
  }
}