Skip to content

Commit f389d76

Browse files
authored
Update EasySQL.php
1 parent 15afc2e commit f389d76

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

Diff for: EasySQL.php

+1-13
Original file line numberDiff line numberDiff line change
@@ -374,16 +374,4 @@ public function save($table, $data)
374374
return $stmt->execute($values);
375375
}
376376
}
377-
378-
/**
379-
* Sets the character set for the database connection.
380-
*
381-
* @param string $charset The character set to use.
382-
*/
383-
public function setCharset($charset)
384-
{
385-
$this->charset = $charset;
386-
$dsn = "mysql:host=$this->host;dbname=$this->database;charset=$this->charset";
387-
$this->pdo = new PDO($dsn, $this->username, $this->password);
388-
}
389-
}
377+
}

0 commit comments

Comments
 (0)