updated: to the new Ezc API
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@974 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -221,7 +221,14 @@ void NotifyThread::SendMail()
|
||||
generator.RecognizeSpecialChars(true);
|
||||
generator.TrimWhite(true);
|
||||
generator.SkipNewLine(true);
|
||||
generator.Generate(notify_stream, *pat, TemplatesNotifyFunctions::ezc_functions);
|
||||
/*
|
||||
* !! IMPROVE ME
|
||||
* add blocks and variables
|
||||
* hmm may they are not needed here?
|
||||
*/
|
||||
generator.SetFunctions(TemplatesNotifyFunctions::ezc_functions);
|
||||
generator.SetPattern(*pat);
|
||||
generator.Generate(notify_stream);
|
||||
|
||||
SendMail(TemplatesNotifyFunctions::notify_user_msg.email, notify_stream.Str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user