Clean the Config module, use static things instead of a stupid singleton

This commit is contained in:
louiz’ committed 2016-06-14 03:02:36 +02:00
1 parent 550ab46f02
commit 46ff73662c
5 files changed
+52 -86

No files matched your search

+1 -3
View File
@@ -3,9 +3,7 @@
void reload_process()
{
// Closing the config will just force it to be reopened the next time
// a configuration option is needed
Config::close();
Config::read_conf();
// Destroy the logger instance, to be recreated the next time a log
// line needs to be written
Logger::instance().reset();