mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
initialize model in order to access database name
This commit is contained in:
parent
dbae29f47d
commit
29e56dbfb2
@ -439,6 +439,7 @@ namespace controller {
|
|||||||
return 0;
|
return 0;
|
||||||
auto cm = ConnectionManager::getInstance();
|
auto cm = ConnectionManager::getInstance();
|
||||||
auto em = ErrorManager::getInstance();
|
auto em = ErrorManager::getInstance();
|
||||||
|
auto db = new model::table::User();
|
||||||
static const char* function_name = "User::checkIfVerificationEmailsShouldBeResend";
|
static const char* function_name = "User::checkIfVerificationEmailsShouldBeResend";
|
||||||
|
|
||||||
auto session = cm->getConnection(CONNECTION_MYSQL_LOGIN_SERVER);
|
auto session = cm->getConnection(CONNECTION_MYSQL_LOGIN_SERVER);
|
||||||
@ -520,6 +521,7 @@ namespace controller {
|
|||||||
{
|
{
|
||||||
auto cm = ConnectionManager::getInstance();
|
auto cm = ConnectionManager::getInstance();
|
||||||
auto em = ErrorManager::getInstance();
|
auto em = ErrorManager::getInstance();
|
||||||
|
auto db = new model::table::User();
|
||||||
static const char* function_name = "User::addMissingEmailHashes";
|
static const char* function_name = "User::addMissingEmailHashes";
|
||||||
|
|
||||||
auto session = cm->getConnection(CONNECTION_MYSQL_LOGIN_SERVER);
|
auto session = cm->getConnection(CONNECTION_MYSQL_LOGIN_SERVER);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user