summaryrefslogtreecommitdiff
path: root/server/src/database.h
diff options
context:
space:
mode:
authordeva <deva>2011-02-17 12:35:46 +0000
committerdeva <deva>2011-02-17 12:35:46 +0000
commited24baca8576c0516db07dbe904f9567a65c37c3 (patch)
tree569e8c7944c5f9d7f513670af212dc75c110e771 /server/src/database.h
parentdb144840aba95affb3a6b5b2536059f49f0677ff (diff)
'Renamed' active/setActive methods to idle/setIdle, since these names makes more sence.
Diffstat (limited to 'server/src/database.h')
-rw-r--r--server/src/database.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/database.h b/server/src/database.h
index fe644bc..8876ae7 100644
--- a/server/src/database.h
+++ b/server/src/database.h
@@ -178,16 +178,16 @@ public:
return dao->restore(data);
}
- bool active(std::string sessionid)
+ bool idle(std::string sessionid)
{
if(!dao || sessionid == "") return false;
- return dao->active(sessionid);
+ return dao->idle(sessionid);
}
- void setActive(std::string sessionid, bool val)
+ void setIdle(std::string sessionid, bool val)
{
if(dao && sessionid != "") {
- dao->setActive(sessionid, val);
+ dao->setIdle(sessionid, val);
}
}