changed: in Request:

removed start_tm
         added start_date (PT::Date)
changed: in Session:
         removed: tm_time
         added: start_date (PT::Date)
         renamed: time -> start_time
         the same is for last_time
         now we have (last_time and last_date)



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@838 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-05-24 21:09:37 +00:00
parent db9d381a43
commit 5b845f1d03
11 changed files with 153 additions and 104 deletions

View File

@@ -92,10 +92,11 @@ void SessionParser::MakeSession(long id, long user_id, SessionContainer & contai
i->puser = puser;
i->new_session = true;
i->remember_me = ReadLong();
i->time = ReadLong();
i->start_time = ReadLong();
i->last_time = ReadLong();
i->tm_time = Time(i->time);
i->tm_last_time = Time(i->last_time);
i->start_date = i->start_time;
i->last_date = i->last_time;
// !! IMPROVE ME we do not save last_time_get
users->IncrementLoggedUsers();
log << log2 << "SP: read session id: " << id << " for user: " << puser->name << logend;