245284 | 1997-08-14 | Henrik Grubbström (Grubba) | | |
6796b0 | 1997-08-20 | Per Hedbor | | * $Id: reloaduserdb.pike,v 1.3 1997/08/20 14:23:55 per Exp $
|
245284 | 1997-08-14 | Henrik Grubbström (Grubba) | | */
|
866277 | 1997-08-12 | Per Hedbor | | inherit "roxenlib";
|
6796b0 | 1997-08-20 | Per Hedbor | | constant name= "Cache//Flush user cache";
|
866277 | 1997-08-12 | Per 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/");
}
|