// Improve Db class + add _db.php class in overrides for bench

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7678 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-07-21 12:02:25 +00:00
parent 884e95f307
commit ff2df3e3b3
5 changed files with 135 additions and 242 deletions

View File

@@ -53,9 +53,7 @@ class MySQLCore extends Db
*/
public function disconnect()
{
if ($this->_link)
@mysql_close($this->_link);
$this->_link = false;
mysql_close($this->_link);
}
/**