Skip to content

Commit

Permalink
Remove Cache (PDO) destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Robson Tenório authored and Robson Tenório committed Nov 17, 2019
1 parent 8ff4b92 commit 499833f
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 499833f

Please sign in to comment.