Skip to content

Commit 61b9a29

Browse files
authored
update
1 parent cd61b69 commit 61b9a29

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

App/Models/DB.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -376,16 +376,4 @@ public function save($table, $data)
376376
return $stmt->execute($values);
377377
}
378378
}
379-
380-
/**
381-
* Sets the character set for the database connection.
382-
*
383-
* @param string $charset The character set to use.
384-
*/
385-
public function setCharset($charset)
386-
{
387-
$this->charset = $charset;
388-
$dsn = "mysql:host=$this->host;dbname=$this->database;charset=$this->charset";
389-
$this->pdo = new \PDO($dsn, $this->username, $this->password);
390-
}
391379
}

0 commit comments

Comments
 (0)