You are here

public function FrxOracle::__destruct in Forena Reports 8

Destructor - Closes database connections.

File

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

Class

FrxOracle
Class FrxOracle

Namespace

Drupal\forena\FrxPlugin\Driver

Code

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