added: notifications to users' emails

(core/notify.h core/notify.cpp)
       templatesnotify directory
       all notifications are managed by a second thread


git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@512 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2009-09-30 22:31:20 +00:00
parent 9902ce2b78
commit 85b678a8fb
30 changed files with 769 additions and 37 deletions

View File

@@ -12,6 +12,7 @@
#include "../core/error.h"
#include "../core/db.h"
#include "../core/data.h"
#include "../core/notify.h"
@@ -70,6 +71,8 @@ void Content::PostFunMkdir(bool add_to_dir_table, int mask)
request.session->item = item;
request.session->done_timer = 2;
request.notify_code |= CMSLU_NOTIFY_DIR_ADD;
RedirectTo(item);
}
else