Roxen.git
/
server
/
config_actions
/
reloaduserdb.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/config_actions/reloaduserdb.pike:1:
+
inherit "roxenlib";
+
constant name= "Flush user cache";
-
+
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/");
+
}
Newline at end of file added.