WIP: remove the old database abstraction layer
remove such classes: - DbBase - DbConn - DbTextStream - Db while here: - remove: TextStream, SLog, TexTextStream
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2016, Tomasz Sowa
|
||||
* Copyright (c) 2016-2024, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -33,6 +33,7 @@
|
||||
*/
|
||||
|
||||
#include "funregistermail.h"
|
||||
#include "core/misc.h"
|
||||
|
||||
namespace Winix
|
||||
{
|
||||
@@ -89,14 +90,14 @@ void FunRegisterMail::MakeGet()
|
||||
if( ValidateEmail(mail) )
|
||||
{
|
||||
log << log3 << "RM: registering e-mail address: " << mail << logend;
|
||||
slog << loginfo << "Thank you, your e-mail address has been added to our list" << logend;
|
||||
//slog << loginfo << "Thank you, your e-mail address has been added to our list" << logend;
|
||||
|
||||
pmdb->AddMail(list_id, mail);
|
||||
pmdb->AddMail(model_connector, list_id, mail);
|
||||
}
|
||||
else
|
||||
{
|
||||
log << log2 << "RM: email: " << mail << " doesn't seem to be correct (skipping)" << logend;
|
||||
slog << logerror << "Sorry but the e-mail address: " << mail << " doesn't seem to be correct" << logend;
|
||||
//slog << logerror << "Sorry but the e-mail address: " << mail << " doesn't seem to be correct" << logend;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user