We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd61b69 commit 61b9a29Copy full SHA for 61b9a29
App/Models/DB.php
@@ -376,16 +376,4 @@ public function save($table, $data)
376
return $stmt->execute($values);
377
}
378
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
- }
391
0 commit comments