Commit 5c05fd15 authored by Jonathan Harker's avatar Jonathan Harker

Remove spurious DSN debug from error message.

parent 0143df59
......@@ -446,7 +446,7 @@ class MaharaAuthPlugin extends AuthPlugin {
$connection = new PDO($this->pdo_dsn, $this->dbuser, $this->dbpass, $flags);
return $connection;
} catch (PDOException $e) {
die("FATAL: could not connect to the Mahara database. Please try again later.<br>{$this->pdo_dsn}<br>{$e->getMessage()}");
die("FATAL: could not connect to the Mahara database. Please try again later.<br>{$e->getMessage()}");
}
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment