mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
API UPGRADE - INSERT-only version update to add missing hooks
This commit is contained in:
parent
433a23d93e
commit
dbd4c633f9
@ -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.016';
|
||||
$setup_info['phpgwapi']['version'] = '0.9.13.017';
|
||||
$setup_info['phpgwapi']['versions']['current_header'] = '1.19';
|
||||
$setup_info['phpgwapi']['enable'] = 3;
|
||||
$setup_info['phpgwapi']['app_order'] = 1;
|
||||
|
@ -2224,4 +2224,15 @@
|
||||
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.13.016';
|
||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
|
||||
}
|
||||
|
||||
$test[] = '0.9.13.016';
|
||||
function phpgwapi_upgrade0_9_13_016()
|
||||
{
|
||||
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_hooks (hook_appname,hook_location,hook_filename) VALUES ('admin','config','hook_config.inc.php')");
|
||||
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_hooks (hook_appname,hook_location,hook_filename) VALUES ('preferences','config','hook_config.inc.php')");
|
||||
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_hooks (hook_appname,hook_location,hook_filename) VALUES ('addressbook','config_validate','hook_config_validate.inc.php')");
|
||||
|
||||
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.13.017';
|
||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user