mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
One syntax fix, add upgrade routine from .14.000
This commit is contained in:
parent
c1bf33a585
commit
9780932675
@ -328,7 +328,7 @@
|
||||
'name' => array('type' => 'text','nullable' => False),
|
||||
'link_directory' => array('type' => 'text','nullable' => True),
|
||||
'link_name' => array('type' => 'text','nullable' => True),
|
||||
'version' => array('type' => 'varchar', 'precision' => 30,'nullable' => False,'default' => '0.0.0.0')
|
||||
'version' => array('type' => 'varchar', 'precision' => 30,'nullable' => False,'default' => '0.0.0.0'),
|
||||
'content' => array('type' => 'text','nullable' => False)
|
||||
),
|
||||
'pk' => array('file_id'),
|
||||
|
@ -32,6 +32,13 @@
|
||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
|
||||
}
|
||||
|
||||
$test[] = '0.9.14.000';
|
||||
function phpgwapi_upgrade0_9_14_000()
|
||||
{
|
||||
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.001';
|
||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
|
||||
}
|
||||
|
||||
$test[] = '0.9.15.001';
|
||||
function phpgwapi_upgrade0_9_15_001()
|
||||
{
|
||||
@ -68,7 +75,7 @@
|
||||
|
||||
$db2->query('INSERT INTO phpgw_newprefs (preference_owner,preference_value) VALUES('
|
||||
. $accountid . ",'"
|
||||
. $GLOBALS['phpgw_setup']->oProc->f('preference_value') . "')",
|
||||
. $GLOBALS['phpgw_setup']->oProc->f('preference_value') . "')",
|
||||
__LINE__,__FILE__);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user