From 77066454230d2ba2d8d07310f364c67f49d24cf8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 8 Sep 2010 12:24:05 +0000 Subject: [PATCH] check if app is either installed or supports the used database (before installed, but not supported apps where not updated) --- setup/inc/class.setup_process.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/inc/class.setup_process.inc.php b/setup/inc/class.setup_process.inc.php index 94dd40a2fc..e41206258b 100755 --- a/setup/inc/class.setup_process.inc.php +++ b/setup/inc/class.setup_process.inc.php @@ -109,7 +109,8 @@ class setup_process /* stuff the rest of the apps, but only those with available upgrades */ foreach($setup_info as $key => $value) { - if (isset($value['only_db']) && ( + // check if app is either installed or supports the used database + if (!isset($value['currentver']) && isset($value['only_db']) && ( is_array($value['only_db']) && !in_array($GLOBALS['egw_setup']->db->Type,$value['only_db']) || !is_array($value['only_db']) && $GLOBALS['egw_setup']->db->Type != $value['only_db'])) {