From 499833f49f447b06d96685f87a24bc6292a6ddf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robson=20Ten=C3=B3rio?= Date: Sun, 17 Nov 2019 10:05:45 -0300 Subject: [PATCH] Remove Cache (PDO) destructor --- src/Pdo/Cache.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Pdo/Cache.php b/src/Pdo/Cache.php index b9dc3bc..d7cdc69 100644 --- a/src/Pdo/Cache.php +++ b/src/Pdo/Cache.php @@ -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. *