Remove the user_handler's clean_up() method.

It doesn't do anything.
This commit is contained in:
Pentarctagon 2019-08-20 19:08:20 -05:00 committed by Gunter Labes
parent eef0c34b0e
commit 25f1537003
3 changed files with 0 additions and 11 deletions

View file

@ -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);
/**

View file

@ -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)

View file

@ -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.
*