renamed database config class

This commit is contained in:
Steffen Schröder
2014-06-20 19:06:55 +02:00
parent 3922b6eac7
commit 816ff486ef
2 changed files with 9 additions and 9 deletions

View File

@ -23,7 +23,7 @@ class Database implements TimerListener {
* Private Properties
*/
private $maniaControl = null;
/** @var DatabaseConfig $config */
/** @var Config $config */
private $config = null;
/**
@ -105,7 +105,7 @@ class Database implements TimerListener {
$name = (string)$nameElements[0];
// Create config object
$config = new DatabaseConfig($host, $port, $user, $pass, $name);
$config = new Config($host, $port, $user, $pass, $name);
if (!$config->validate()) {
$this->maniaControl->quit("Your config file doesn't seem to be maintained properly. Please check the database configuration again!", true);
}