diff --git a/MysqliDb.php b/MysqliDb.php index a90e2805..0eefc0fd 100644 --- a/MysqliDb.php +++ b/MysqliDb.php @@ -1848,23 +1848,6 @@ protected function _prepareQuery() return $stmt; } - /** - * Close connection - * - * @return void - */ - public function __destruct() - { - if ($this->isSubQuery) { - return; - } - - if ($this->_mysqli) { - $this->_mysqli->close(); - $this->_mysqli = null; - } - } - /** * Referenced data array is required by mysqli since PHP 5.3+ *