Admin can enable disable caching on the fly now.

This commit is contained in:
skeeter 2001-06-23 01:01:39 +00:00
parent 6342c22f72
commit 960a50b148

View File

@ -57,6 +57,10 @@
{
$this->db->lock('phpgw_config');
$this->db->query("delete from phpgw_config where config_app='" . $this->appname . "'",__LINE__,__FILE__);
if($this->appname == 'phpgwapi')
{
$this->db->query("delete from phpgw_app_sessions where sessionid = '0' and loginid = '0' and app = '".$this->appname."' and location = 'config'",__LINE__,__FILE__);
}
while (list($name,$value) = each($config_data))
{
$name = addslashes($name);