mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
bump version to 14.2 and change dependency check from == to >=, like it is used every where else
This commit is contained in:
parent
afcad4b50f
commit
494a87af52
@ -12,7 +12,7 @@
|
||||
/* Basic information about this app */
|
||||
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
||||
$setup_info['phpgwapi']['title'] = 'EGroupware API';
|
||||
$setup_info['phpgwapi']['version'] = '14.1.900';
|
||||
$setup_info['phpgwapi']['version'] = '14.2';
|
||||
$setup_info['phpgwapi']['versions']['current_header'] = '1.29';
|
||||
$setup_info['phpgwapi']['enable'] = 3;
|
||||
$setup_info['phpgwapi']['app_order'] = 1;
|
||||
|
@ -46,3 +46,12 @@ function phpgwapi_upgrade14_1()
|
||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '14.1.900';
|
||||
}
|
||||
|
||||
/**
|
||||
* Bump version to 14.2
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function phpgwapi_upgrade14_1_900()
|
||||
{
|
||||
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '14.2';
|
||||
}
|
@ -181,7 +181,7 @@ class setup_detection
|
||||
$currentver = '0.9.14.508';
|
||||
}
|
||||
$major = $GLOBALS['egw_setup']->get_major($currentver);
|
||||
if ($major == $depsvalue || substr($major,0,strlen($depsvalue)+1) == $depsvalue.'.')
|
||||
if ($major >= $depsvalue || $major == $depsvalue && substr($major,0,strlen($depsvalue)+1) == $depsvalue.'.')
|
||||
{
|
||||
$setup_info['depends'][$depkey]['status'] = True;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user