added: winix function: rmuser

changed: UGContainer<> now uses std::list as a storage
         (previously it was using std::vector with pointers)
removed: now we don't have the operator[] for UGContainer<>



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@816 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-03-09 02:36:25 +00:00
parent 6c2c12fe5e
commit 489310ba1c
51 changed files with 1146 additions and 602 deletions

View File

@@ -107,11 +107,11 @@ bool res = false;
{
for(i=users->Begin() ; i != users->End() ; ++i)
{
if( ((*i)->notify & TemplatesNotifyFunctions::notify_msg.code) != 0 )
if( (i->notify & TemplatesNotifyFunctions::notify_msg.code) != 0 )
{
msg.name = (*i)->name;
msg.email = (*i)->email;
msg.lang = config->locale_default_index; // !! bedzie osobno dla kazdego uzytkownika
msg.name = i->name;
msg.email = i->email;
msg.lang = config->locale_default_index; // !! IMPROVE ME bedzie osobno dla kazdego uzytkownika
notify_user.push_back(msg);
res = true;