Skip to content

Commit

Permalink
Merge pull request #16 from robsontenorio/remove-cachePDO-destructor
Browse files Browse the repository at this point in the history
Remove Cache.php destructor
  • Loading branch information
jeandormehl authored Nov 25, 2019
2 parents 8ff4b92 + 499833f commit 15d666e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Pdo/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ public function __construct($dsn, $username, $password, array $options = [])
$this->connect($dsn, $username, $password, $options);
}

/**
* Destructor.
*/
public function __destruct()
{
return @\odbc_close($this->dbh);
}

/**
* Prepares a statement for execution and returns a statement object.
*
Expand Down

0 comments on commit 15d666e

Please sign in to comment.