diff --git a/src/classes/btmysql.php b/src/classes/btmysql.php index d34177c..94dcb5d 100644 --- a/src/classes/btmysql.php +++ b/src/classes/btmysql.php @@ -50,7 +50,6 @@ public function __construct($host, $username, $passwd, $dbname = "", $port = nul parent::__construct($host, $username, $passwd, $dbname, $port, $socket); - if ($this->connect_errno) { $this->isConnected = false; } else { @@ -134,7 +133,6 @@ public function bindParams($objMySQLiStmt, $arrValues) { return $returnVal; } - public function optimizeTables() { $tables = []; $result = $this->query("SHOW TABLE STATUS WHERE Data_free > 0"); @@ -149,5 +147,4 @@ public function optimizeTables() { } } - }