From: Maxim Mamontov Date: Wed, 26 Jan 2011 15:53:25 +0000 (+0200) Subject: Прибрано "мертвий" код X-Git-Tag: 2.407-rc3~197 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/56bcf61076cf2e51bd6ae9f0f50b53d48444b684?ds=sidebyside;hp=78e14695fc1b743f225a5aa30ca98784bce576c1 Прибрано "мертвий" код --- diff --git a/projects/stargazer/users.cpp b/projects/stargazer/users.cpp index f97a029f..e2f326e0 100644 --- a/projects/stargazer/users.cpp +++ b/projects/stargazer/users.cpp @@ -144,7 +144,7 @@ if (store->AddUser(login)) USER u(settings, store, tariffs, sysAdmin, &ipIndex); -struct tm * tms; +/*struct tm * tms; time_t t = stgTime; tms = localtime(&t); @@ -156,7 +156,7 @@ tms->tm_sec = 0; if (settings->GetDayResetTraff() > tms->tm_mday) tms->tm_mon -= 1; -tms->tm_mday = settings->GetDayResetTraff(); +tms->tm_mday = settings->GetDayResetTraff();*/ u.SetLogin(login);