allow to deinstall old phpgwapi, but not api

This commit is contained in:
Ralf Becker 2016-05-31 22:57:41 +02:00
parent 25049f9504
commit 9c1249cd9a

View File

@ -436,7 +436,7 @@ else
switch($value['status'])
{
case 'C':
$setup_tpl->set_var('remove', in_array($key, array('api', 'phpgwapi')) ? '&nbsp;' : '<input type="checkbox" name="remove[' . $value['name'] . ']" />');
$setup_tpl->set_var('remove', $key == 'api' ? '&nbsp;' : '<input type="checkbox" name="remove[' . $value['name'] . ']" />');
$setup_tpl->set_var('upgrade','&nbsp;');
if (!$GLOBALS['egw_setup']->detection->check_app_tables($value['name']))
{