From 849b94374ba33d17e19cbaa2a92e781b65af0024 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 5 Jun 2016 10:56:00 +0200 Subject: [PATCH] allow to deinstall old "phpgwapi", but not new "api" --- setup/applications.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup/applications.php b/setup/applications.php index b2daec61d2..ee6fdd5815 100644 --- a/setup/applications.php +++ b/setup/applications.php @@ -479,7 +479,7 @@ else if ($value['tables'] && $GLOBALS['egw_setup']->detection->check_app_tables($value['name'],True)) { // Some tables missing - $setup_tpl->set_var('remove',$key == 'phpgwapi' ? ' ' : ''); + $setup_tpl->set_var('remove',$key == 'api' ? ' ' : ''); $setup_tpl->set_var('resolution','' . lang('Potential Problem') . ''); $status = lang('Requires reinstall or manual repair') . ' - ' . $value['status']; } @@ -503,7 +503,7 @@ else $setup_tpl->set_var('install',' '); // TODO display some info about breakage if you mess with this app $setup_tpl->set_var('upgrade',''); - $setup_tpl->set_var('remove',$key == 'phpgwapi' ? ' ' : ''); + $setup_tpl->set_var('remove',$key == 'api' ? ' ' : ''); $setup_tpl->set_var('resolution',''); $status = lang('Requires upgrade') . ' - ' . $value['status']; } @@ -512,7 +512,7 @@ else $setup_tpl->set_var('instimg','incomplete.png'); $setup_tpl->set_var('instalt',lang('Not Completed')); $setup_tpl->set_var('install',' '); - $setup_tpl->set_var('remove',$key == 'phpgwapi' ? ' ' : ''); + $setup_tpl->set_var('remove',$key == 'api' ? ' ' : ''); if ($value['version'] == 'deleted') { $setup_tpl->set_var('bg_color','CCAAAA'); @@ -536,7 +536,7 @@ else $setup_tpl->set_var('install',' '); if ($values['currentver']) { - $setup_tpl->set_var('remove',$key == 'phpgwapi' ? ' ' : ''); + $setup_tpl->set_var('remove',$key == 'api' ? ' ' : ''); $setup_tpl->set_var('resolution','' . lang('Possible Solutions') . ''); } else