mirror of
https://github.com/friendica/friendica
synced 2024-11-10 15:02:53 +00:00
Removed commented code
This commit is contained in:
parent
126c4774c3
commit
b1999459af
1 changed files with 0 additions and 2 deletions
|
@ -65,7 +65,6 @@ class dba {
|
||||||
$this->db = @new mysqli($server,$user,$pass,$db);
|
$this->db = @new mysqli($server,$user,$pass,$db);
|
||||||
if (! mysqli_connect_errno()) {
|
if (! mysqli_connect_errno()) {
|
||||||
$this->connected = true;
|
$this->connected = true;
|
||||||
//mysqli_set_charset($this->db, 'utf8');
|
|
||||||
}
|
}
|
||||||
if (isset($a->config["system"]["db_charset"])) {
|
if (isset($a->config["system"]["db_charset"])) {
|
||||||
$this->db->set_charset($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);
|
$this->db = mysql_connect($server,$user,$pass);
|
||||||
if ($this->db && mysql_select_db($db,$this->db)) {
|
if ($this->db && mysql_select_db($db,$this->db)) {
|
||||||
$this->connected = true;
|
$this->connected = true;
|
||||||
//mysql_set_charset('utf8', $this->db);
|
|
||||||
}
|
}
|
||||||
if (isset($a->config["system"]["db_charset"]))
|
if (isset($a->config["system"]["db_charset"]))
|
||||||
mysql_set_charset($a->config["system"]["db_charset"], $this->db);
|
mysql_set_charset($a->config["system"]["db_charset"], $this->db);
|
||||||
|
|
Loading…
Reference in a new issue