mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Increase session_lid to 255 chars (20 not enough to fit user@real.host.name)
This commit is contained in:
parent
d755598dc7
commit
5989616d8c
@ -14,7 +14,7 @@
|
||||
/* Basic information about this app */
|
||||
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
||||
$setup_info['phpgwapi']['title'] = 'phpgwapi';
|
||||
$setup_info['phpgwapi']['version'] = '0.9.13.010';
|
||||
$setup_info['phpgwapi']['version'] = '0.9.13.011';
|
||||
$setup_info['phpgwapi']['versions']['current_header'] = '1.17';
|
||||
$setup_info['phpgwapi']['enable'] = 3;
|
||||
$setup_info['phpgwapi']['app_order'] = 1;
|
||||
|
@ -83,7 +83,7 @@
|
||||
'phpgw_sessions' => array(
|
||||
'fd' => array(
|
||||
'session_id' => array('type' => 'varchar', 'precision' => 255, 'nullable' => false),
|
||||
'session_lid' => array('type' => 'varchar', 'precision' => 20),
|
||||
'session_lid' => array('type' => 'varchar', 'precision' => 255),
|
||||
'session_ip' => array('type' => 'varchar', 'precision' => 255),
|
||||
'session_logintime' => array('type' => 'int', 'precision' => 4),
|
||||
'session_dla' => array('type' => 'int', 'precision' => 4),
|
||||
|
@ -2023,8 +2023,7 @@
|
||||
return $setup_info['phpgwapi']['currentver'];
|
||||
}
|
||||
|
||||
|
||||
$test[] = '0.9.13.007';
|
||||
$test[] = '0.9.13.007';
|
||||
function phpgwapi_upgrade0_9_13_007()
|
||||
{
|
||||
global $setup_info, $phpgw_setup;
|
||||
@ -2078,4 +2077,15 @@
|
||||
$setup_info['phpgwapi']['currentver'] = '0.9.13.010';
|
||||
return $setup_info['phpgwapi']['currentver'];
|
||||
}
|
||||
|
||||
$test[] = '0.9.13.010';
|
||||
function phpgwapi_upgrade0_9_13_010()
|
||||
{
|
||||
global $setup_info, $phpgw_setup;
|
||||
|
||||
$phpgw_setup->oProc->AlterColumn('phpgw_sessions','session_lid',array('type' => 'varchar', 'precision' => 255, 'nullable'=> False));
|
||||
|
||||
$setup_info['phpgwapi']['currentver'] = '0.9.13.011';
|
||||
return $setup_info['phpgwapi']['currentver'];
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user