From 59765efff552a3a54e69e1c359de4112a0c8863c Mon Sep 17 00:00:00 2001 From: marswill Date: Mon, 1 Jul 2019 10:12:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/InfiniteTree.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/InfiniteTree.php b/src/InfiniteTree.php index bb72dc9..3ee9ad3 100644 --- a/src/InfiniteTree.php +++ b/src/InfiniteTree.php @@ -88,12 +88,7 @@ public function __construct($tableName = "", $dbConfig = [], $keyConfig = []) throw $e; } } - - public function __destruct() - { - // TODO: Implement __destruct() method. - mysqli_close($this->_db); - } + /** * 配置对应的键