You are here

public function FrxOracle::__destruct in Forena Reports 7.5

Destructor - Closes database connections.

File

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

Class

FrxOracle

Namespace

Drupal\forena\Driver

Code

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