forked from extern/egroupware
use the static function randomstring instead of the egw->common object (which may not be instanciated at the time)
This commit is contained in:
parent
1d48d7d217
commit
5db4d77067
@ -184,10 +184,7 @@ class egw_session //extends sessions
|
||||
}
|
||||
if (!isset($GLOBALS['egw_info']['server']['install_id']))
|
||||
{
|
||||
if (isset($GLOBALS['egw']->common)) {
|
||||
$GLOBALS['egw_info']['server']['install_id'] = md5($GLOBALS['egw']->common->randomstring(15));
|
||||
$save_rep = true;
|
||||
}
|
||||
$GLOBALS['egw_info']['server']['install_id'] = md5(common::randomstring(15));
|
||||
}
|
||||
if (!isset($GLOBALS['egw_info']['server']['sessions_timeout']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user