summaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/UserBackendMysql.cpp4
-rw-r--r--src/modules/UserBackendMysql.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/UserBackendMysql.cpp b/src/modules/UserBackendMysql.cpp
index 39b0652..daea626 100644
--- a/src/modules/UserBackendMysql.cpp
+++ b/src/modules/UserBackendMysql.cpp
@@ -131,7 +131,7 @@ void UserBackendMysql::configFinished() {
mysql = mysql_init(0);
mysql_real_connect(mysql, host.c_str(), username.c_str(), passwd.c_str(), db.c_str(), port, unixSocket.empty() ? 0 : unixSocket.c_str(), 0);
- Core::UserManager::get()->registerBackend(backend);
+ Server::UserManager::get()->registerBackend(backend);
}
@@ -211,7 +211,7 @@ void UserBackendMysql::unregisterBackend() {
return;
Common::ConfigManager::get()->unregisterConfigurable(backend);
- Core::UserManager::get()->unregisterBackend(backend);
+ Server::UserManager::get()->unregisterBackend(backend);
delete backend;
backend = 0;
diff --git a/src/modules/UserBackendMysql.h b/src/modules/UserBackendMysql.h
index ac82d67..ddd4252 100644
--- a/src/modules/UserBackendMysql.h
+++ b/src/modules/UserBackendMysql.h
@@ -20,8 +20,8 @@
#ifndef MAD_MODULES_USERBACKENDMYSQL_H_
#define MAD_MODULES_USERBACKENDMYSQL_H_
-#include <Core/UserBackend.h>
-#include <Core/UserManager.h>
+#include <Server/UserBackend.h>
+#include <Server/UserManager.h>
#include <Common/Configurable.h>
#include <mysql/mysql.h>
@@ -30,7 +30,7 @@
namespace Mad {
namespace Modules {
-class UserBackendMysql : private Core::UserBackend, private Common::Configurable {
+class UserBackendMysql : private Server::UserBackend, private Common::Configurable {
private:
static UserBackendMysql *backend;