]> git.mxchange.org Git - friendica.git/commitdiff
Removed commented code
authorMichael <heluecht@pirati.ca>
Wed, 16 Nov 2016 06:29:30 +0000 (06:29 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 16 Nov 2016 06:29:30 +0000 (06:29 +0000)
include/dba.php

index 7ca520712a455a31d53d4b92e24800cbcbdac124..082a54bd496694875cb7756974f049c2f065a179 100644 (file)
@@ -65,7 +65,6 @@ class dba {
                        $this->db = @new mysqli($server,$user,$pass,$db);
                        if (! mysqli_connect_errno()) {
                                $this->connected = true;
-                               //mysqli_set_charset($this->db, 'utf8');
                        }
                        if (isset($a->config["system"]["db_charset"])) {
                                $this->db->set_charset($a->config["system"]["db_charset"]);
@@ -75,7 +74,6 @@ class dba {
                        $this->db = mysql_connect($server,$user,$pass);
                        if ($this->db && mysql_select_db($db,$this->db)) {
                                $this->connected = true;
-                               //mysql_set_charset('utf8', $this->db);
                        }
                        if (isset($a->config["system"]["db_charset"]))
                                mysql_set_charset($a->config["system"]["db_charset"], $this->db);