mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 18:31:26 +01:00
use config::save_value to update the ctimes of the lang-files
This commit is contained in:
parent
737461af74
commit
bfb6f3b494
@ -437,9 +437,8 @@
|
|||||||
|
|
||||||
// update the ctimes of the installed langsfiles for the autoloading of the lang-files
|
// update the ctimes of the installed langsfiles for the autoloading of the lang-files
|
||||||
//
|
//
|
||||||
$this->db->query("DELETE from phpgw_config WHERE config_app='phpgwapi' AND config_name='lang_ctimes'",__LINE__,__FILE__);
|
$config = CreateObject('phpgwapi.config.save_value');
|
||||||
$this->db->query($query="INSERT INTO phpgw_config(config_app,config_name,config_value) VALUES ('phpgwapi','lang_ctimes','".
|
$config->save_value('lang_ctimes',$GLOBALS['phpgw_info']['server']['lang_ctimes'],'phpgwapi');
|
||||||
addslashes(serialize($GLOBALS['phpgw_info']['server']['lang_ctimes']))."')",__LINE__,__FILE__);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
Reference in New Issue
Block a user