Remove the user_handler's clean_up() method.
It doesn't do anything.
This commit is contained in:
parent
eef0c34b0e
commit
25f1537003
3 changed files with 0 additions and 11 deletions
|
@ -43,8 +43,6 @@ class fuh : public user_handler {
|
|||
fuh(const config& c);
|
||||
~fuh();
|
||||
|
||||
void clean_up() {}
|
||||
|
||||
bool login(const std::string& name, const std::string& password, const std::string& seed);
|
||||
|
||||
/**
|
||||
|
|
|
@ -583,7 +583,6 @@ void server::clean_user_handler(const std::time_t& now)
|
|||
}
|
||||
|
||||
last_uh_clean_ = now;
|
||||
user_handler_->clean_up();
|
||||
}
|
||||
|
||||
void server::handle_new_client(socket_ptr socket)
|
||||
|
|
|
@ -43,14 +43,6 @@ class user_handler {
|
|||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Called by the server once a day.
|
||||
*
|
||||
* Could for example be used for removing users that have not logged in
|
||||
* for a certain amount of time.
|
||||
*/
|
||||
virtual void clean_up() =0;
|
||||
|
||||
/**
|
||||
* Return true if the given password matches the password for the given user.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue