mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:40:17 +00:00
Update src/Database/Database.php
Correct indent Co-authored-by: Philipp <admin+Github@philipp.info>
This commit is contained in:
parent
335be6f032
commit
470be2b5e4
1 changed files with 6 additions and 6 deletions
|
@ -135,12 +135,12 @@ class Database
|
|||
if ($charset) {
|
||||
$connect .= ";charset=" . $charset;
|
||||
}
|
||||
|
||||
if ($socket) {
|
||||
$connect .= ";$unix_socket=" . $socket;
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
if ($socket) {
|
||||
$connect .= ";$unix_socket=" . $socket;
|
||||
}
|
||||
|
||||
try {
|
||||
$this->connection = @new PDO($connect, $user, $pass, [PDO::ATTR_PERSISTENT => $persistent]);
|
||||
$this->connection->setAttribute(PDO::ATTR_EMULATE_PREPARES, $this->pdo_emulate_prepares);
|
||||
$this->connection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT);
|
||||
|
|
Loading…
Reference in a new issue