1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
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/"); 
}