diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-04-29 19:57:50 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-04-29 19:57:50 +0200 |
commit | 7c8a134b082e1224a6ece26cefdf939753088e2c (patch) | |
tree | 2400eb68900ff6f6be1e1b808b00c23a76a04877 /src/modules | |
parent | 5a61159a11e1db775a2b5dfebc46c12ff2616b5a (diff) | |
download | mad-7c8a134b082e1224a6ece26cefdf939753088e2c.tar mad-7c8a134b082e1224a6ece26cefdf939753088e2c.zip |
Core in Server umbenannt
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/UserBackendMysql.cpp | 4 | ||||
-rw-r--r-- | src/modules/UserBackendMysql.h | 6 |
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; |