You are here

public function FrxMSSQL::__destruct in Forena Reports 8

Destructor - Closes database connections.

File

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

Class

FrxMSSQL
Class FrxMSSQL

Namespace

Drupal\forena\FrxPlugin\Driver

Code

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