2452841997-08-14Henrik Grubbström (Grubba) /*
6796b01997-08-20Per Hedbor  * $Id: reloaduserdb.pike,v 1.3 1997/08/20 14:23:55 per Exp $
2452841997-08-14Henrik Grubbström (Grubba)  */
8662771997-08-12Per Hedbor inherit "roxenlib";
6796b01997-08-20Per Hedbor constant name= "Cache//Flush user cache";
8662771997-08-12Per Hedbor  constant doc = ("Force a flush of the user and password cache in all " "virtual servers."); mixed handle(object id, object mc) { foreach(roxen->configurations, object c) if(c->modules["userdb"] && c->modules["userdb"]->master) c->modules["userdb"]->master->read_data(); return http_redirect(roxen->config_url()+"Actions/"); }