Commit 14544ff7 authored by Alexander Butenko's avatar Alexander Butenko Committed by GitHub

Merge pull request #628 from leigh-ols/leigh-ols-patch-1

Remove __destructor from MysqliDb
parents 52b8db40 0f41abae
...@@ -1848,23 +1848,6 @@ class MysqliDb ...@@ -1848,23 +1848,6 @@ class MysqliDb
return $stmt; 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+ * Referenced data array is required by mysqli since PHP 5.3+
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment