tbrehm
2011-08-10 682ed39dc3477064770ab2b536164c77f68b82cf
Added destructor to mysql server class.
1 files modified
7 ■■■■ changed files
server/lib/classes/db_mysql.inc.php 7 ●●●● patch | view | raw | blame | history
server/lib/classes/db_mysql.inc.php
@@ -45,8 +45,7 @@
        var $show_error_messages = true;
        // constructor
        function db()
        {
        public function __construct() {
            
            global $conf;
            $this->dbHost = $conf['db_host'];
@@ -56,6 +55,10 @@
            $this->dbCharset = $conf['db_charset'];
            //$this->connect();
        }
        public function __destruct() {
            $this->closeConn();
        }
        // error handler
        function updateError($location)