git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Теперь PRIV при конструировании ADMIN_CONF передается по ссылке (ранее
[stg.git]
/
projects
/
stargazer
/
user.h
diff --git
a/projects/stargazer/user.h
b/projects/stargazer/user.h
index 8b35dbecdc7b8801a713d1479021c811b54fbc08..3631d900be65b46ac89346e10094e1402e093c4c 100644
(file)
--- a/
projects/stargazer/user.h
+++ b/
projects/stargazer/user.h
@@
-144,8
+144,6
@@
public:
void ResetPassiveTime() { passiveTime = 0; }
void SetPassiveTimeAsNewUser();
void ResetPassiveTime() { passiveTime = 0; }
void SetPassiveTimeAsNewUser();
- /*void ResetDetailStat();
- int SwapDetailStat();*/
int WriteDetailStat(bool hard = false);
const TARIFF * GetTariff() const { return tariff; }
int WriteDetailStat(bool hard = false);
const TARIFF * GetTariff() const { return tariff; }
@@
-235,11
+233,6
@@
private:
const TARIFFS * tariffs;
const TARIFF * tariff;
const TARIFFS * tariffs;
const TARIFF * tariff;
- /*map<IP_DIR_PAIR, STAT_NODE> traffStatInternal[2];
- map<IP_DIR_PAIR, STAT_NODE> * traffStat;
- map<IP_DIR_PAIR, STAT_NODE> * traffStatToWrite;
- int traffStatInUse;*/
-
TRAFF_STAT traffStat;
std::list<std::pair<time_t, TRAFF_STAT> > traffStatQueue;
TRAFF_STAT traffStat;
std::list<std::pair<time_t, TRAFF_STAT> > traffStatQueue;